FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update test_exceptions.py · sdpython/pythonnet@8b0145c · GitHub

This repository was archived by the owner on Jul 22, 2023. It is now read-only.

Repository navigation

Commit 8b0145c

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)

Back | FazBrowse Home | New Git URL