Closed kri-k closed 2 years ago
Pypy 3 (Linux) Result: | Tests failed: 14 (14 new), passed: 123, ignored: 26
I'm pretty sure it's not my fault 😃
master
branch is also broken, as I can see
I'm pretty sure it's not my fault 😃 master branch is also broken, as I can see
Yes, looking into it. Looks like there are some failures at new PyPy version (
Anyway, changes looks safe to me, let's merge them Thank you for you change!
@mikekidya I'm glad I could help with this bugfix. BTW, are there any deadlines when the new version of package will be released on pypi? It would be great if a new version released soon :)
PR for #260
Problem: teamcity-messages plugin fails in cases when the
sys.stdout
encoding is unable to handle passed symbols. This mostly happens on Windows hosts due to the behavior, described in the documentation:How to reproduce: Let's say we have a
test.py
file with the following content:If we run it on Windows
then most probably encoding of the
sys.stdout
will becp1252
or something like that. Andtest_log
will contain the following error:What does this pull request do: Let's look how bad test output is handled by the pytest itself. Let's add
assert False
line to the test and look at the result:python3 -m pytest test.py > test_log
Captured stdout is escaped. This pull request is for the teamcity-plugin to similarly escape unencodable characters.