We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42324c6 commit 695a90eCopy full SHA for 695a90e
test/test_errors.py
@@ -45,8 +45,8 @@ def test_operation_failure(self):
45
self.assertIn("full error", traceback.format_exc())
46
47
def _test_unicode_strs(self, exc):
48
- if 'PyPy' in sys.version:
49
- # PyPy displays unicode in repr differently.
+ if sys.implementation.name == 'pypy' and sys.implementation.version < (7, 3, 7):
+ # PyPy used to display unicode in repr differently.
50
self.assertEqual("unicode \U0001f40d, full error: {"
51
"'errmsg': 'unicode \\U0001f40d'}", str(exc))
52
else:
0 commit comments