[Pytest-commit] Issue #520: Silent crash when exec produces a syntax error involving Unicode (hpk42/pytest)
Kodi Arfer
issues-reply at bitbucket.org
Tue May 27 21:23:01 CEST 2014
New issue 520: Silent crash when exec produces a syntax error involving Unicode
https://bitbucket.org/hpk42/pytest/issue/520/silent-crash-when-exec-produces-a-syntax
Kodi Arfer:
Input:
```
#!python
def test_foo():
exec u'foo u"\u03b1"'
```
Output:
```
===================== test session starts ======================
platform linux2 -- Python 2.7.6 -- py-1.4.20 -- pytest-2.5.2
collected 1 items
test_something.py
```
(Except the output has no trailing newline, just a trailing space after `test_something.py`.)
Using `--assert=plain` makes no difference.
More information about the pytest-commit
mailing list