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