aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/pytest/py3/patches/04-support-cyrillic-id.patch
blob: e77009678e4d67a7b8c0bcf69a047f89356050f0 (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)
@@ -249,7 +249,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)