blob: f7546bf1df19f334cf16cb47716efc95e3f2d0d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- contrib/python/pytest/py3/_pytest/compat.py (index)
+++ contrib/python/pytest/py3/_pytest/compat.py (working tree)
@@ -233,7 +233,7 @@ if _PY3:
if isinstance(val, bytes):
ret = _bytes_to_ascii(val)
else:
- ret = val.encode("unicode_escape").decode("ascii")
+ ret = val
return _translate_non_printable(ret)
|