Author: Yannick Jadoul <[email protected]>
Branch: py3.7-bpo-30399
Changeset: r98406:49811c96e106
Date: 2019-12-29 21:36 +0100
http://bitbucket.org/pypy/pypy/changeset/49811c96e106/

Log:    Undo change to trailing commas in exception repr strings in lib-
        python/3/test/test_gdb.py

diff --git a/lib-python/3/test/test_gdb.py b/lib-python/3/test/test_gdb.py
--- a/lib-python/3/test/test_gdb.py
+++ b/lib-python/3/test/test_gdb.py
@@ -436,7 +436,7 @@
     id(e)
 ''')
         self.assertEqual(gdb_repr,
-                         "RuntimeError('I am an error')")
+                         "RuntimeError('I am an error',)")
 
 
         # Test division by zero:
@@ -447,7 +447,7 @@
     id(e)
 ''')
         self.assertEqual(gdb_repr,
-                         "ZeroDivisionError('division by zero')")
+                         "ZeroDivisionError('division by zero',)")
 
     def test_modern_class(self):
         'Verify the pretty-printing of new-style class instances'
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to