pytest issues warning about unicode warnings containign non-ascii even if it only contains ascii chars #2809
Comments
Note: just did some more tests and apparently this error happens only when the i.e.: Still, note that the unicode passed is convertible to ascii (so, pytest itself should not give a new warning which causes the exception to be raised and gives the internal error). |
Thanks @fabioz! |
nicoddemus
added a commit
to nicoddemus/pytest
that referenced
this issue
Oct 2, 2017
nicoddemus
added a commit
to nicoddemus/pytest
that referenced
this issue
Oct 2, 2017
nicoddemus
added a commit
to nicoddemus/pytest
that referenced
this issue
Oct 3, 2017
@nicoddemus @RonnyPfannschmidt as the #2810 is merged this can be closed I think. |
Yes thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pytest: 3.2.1
python: 2.7.12
Windows 10
The test below reproduces the error (the first warning with bytes will work as expected and the second will break pytest).
Error:
The text was updated successfully, but these errors were encountered: