summaryrefslogtreecommitdiff
path: root/Lib/test/test_exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_exceptions.py')
-rw-r--r--Lib/test/test_exceptions.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py
index 22a22363a7..2d3a13a8f9 100644
--- a/Lib/test/test_exceptions.py
+++ b/Lib/test/test_exceptions.py
@@ -1078,8 +1078,9 @@ class ExceptionTests(unittest.TestCase):
"""
with SuppressCrashReport():
rc, out, err = script_helper.assert_python_failure("-c", code)
- self.assertIn(b'Fatal Python error: Cannot recover from '
- b'MemoryErrors while normalizing exceptions.', err)
+ self.assertIn(b'Fatal Python error: _PyErr_NormalizeException: '
+ b'Cannot recover from MemoryErrors while '
+ b'normalizing exceptions.', err)
@cpython_only
def test_MemoryError(self):