blob: c601f183f95aa84515c1ae59e282b7e50f26f8ca (
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)
|