Author: Yannick Jadoul <[email protected]>
Branch: py3.7
Changeset: r98417:295149c861c3
Date: 2019-12-30 22:28 +0100
http://bitbucket.org/pypy/pypy/changeset/295149c861c3/

Log:    Revert removal of trailing comma in test_cpyext.py in 705f6a3 (part
        of commit implementing bpo-30399)

diff --git a/pypy/module/cpyext/test/test_cpyext.py 
b/pypy/module/cpyext/test/test_cpyext.py
--- a/pypy/module/cpyext/test/test_cpyext.py
+++ b/pypy/module/cpyext/test/test_cpyext.py
@@ -751,7 +751,7 @@
         module = self.import_module(name='foo', body=body)
 
         # uncaught interplevel exceptions are turned into SystemError
-        expected = "ZeroDivisionError('integer division or modulo by zero')"
+        expected = "ZeroDivisionError('integer division or modulo by zero',)"
         exc = raises(SystemError, module.crash1)
         assert exc.value.args[0] == expected
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to