blob: beed7a0aeb7de727b78b0058e9e64d398bea11f0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- contrib/python/pytest/py2/_pytest/compat.py (index)
+++ contrib/python/pytest/py2/_pytest/compat.py (working tree)
@@ -244,7 +244,7 @@ if _PY3:
ret = _bytes_to_ascii(val)
else:
ret = val
- return _translate_non_printable(ret)
+ return ret
else:
@@ -267,7 +267,7 @@ else:
ret = val.decode("utf-8", "ignore")
else:
ret = val.encode("utf-8", "replace").decode("utf-8")
- return _translate_non_printable(ret)
+ return ret
class _PytestWrapper(object):
|