X Tutup
Skip to content

Commit 8b0145c

Browse files
authored
Update test_exceptions.py
1 parent e8895bc commit 8b0145c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/test_exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def test_python_compat_of_managed_exceptions():
289289
assert e.args == (msg,)
290290
assert isinstance(e.args, tuple)
291291
if PY3:
292-
assert repr(e) == "OverflowException('Simple message',)"
292+
assert repr(e)[:-2] == "OverflowException('Simple message'"
293293
elif PY2:
294294
assert repr(e) == "OverflowException(u'Simple message',)"
295295

0 commit comments

Comments
 (0)
X Tutup