Commit a51be4c1 authored by Ezio Melotti's avatar Ezio Melotti

#11963: merge with 3.2.

parents 0d7333e0 e7c32995
......@@ -615,7 +615,8 @@ class ParserStackLimitTestCase(unittest.TestCase):
rc, out, err = assert_python_failure('-c', e)
# parsing the expression will result in an error message
# followed by a MemoryError (see #11963)
self.assertEqual(err, b's_push: parser stack overflow\nMemoryError')
self.assertIn(b's_push: parser stack overflow', err)
self.assertIn(b'MemoryError', err)
class STObjectTestCase(unittest.TestCase):
"""Test operations on ST objects themselves"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment