New issue 563: unrelated multiline comments shown in source
https://bitbucket.org/hpk42/pytest/issue/563/unrelated-multiline-comments-shown-in
Thomas Tanner:
Unrelated multiline comments are shown in the source display,
while single line comments or strings are correctly hidden.
example:
```
#!python
def test():
"function comment"
assert False
"""
this should not appear
"""
```
```
#!python
platform darwin -- Python 2.7.8 -- py-1.4.23 -- pytest-2.6.1
plugins: bdd, pep8, cache, django, cov, xdist
collected 1 items
test.py F
=========================================================== FAILURES
===========================================================
_____________________________________________________________ test
_____________________________________________________________
def test():
"function comment"
> assert False
"""
this should not appear
E assert False
test.py:5: AssertionError
```
_______________________________________________
pytest-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-commit