Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd787a9 commit f637ac8Copy full SHA for f637ac8
1 file changed
tests/languages/helpers_test.py
@@ -72,8 +72,8 @@ def test_basic_healthy():
72
def test_failed_setup_command_does_not_unicode_error():
73
script = (
74
'import sys\n'
75
- "getattr(sys.stderr, 'buffer', sys.stderr).write(b'\\x81\\xfe')\n"
76
- 'exit(1)\n'
+ "sys.stderr.buffer.write(b'\\x81\\xfe')\n"
+ 'raise SystemExit(1)\n'
77
)
78
79
# an assertion that this does not raise `UnicodeError`
0 commit comments