#11963: fix Windows buildbots.

This commit is contained in:
Ezio Melotti 2013-03-10 03:25:45 +02:00
parent da9eeae48e
commit c52670479a

View file

@ -596,7 +596,8 @@ class ParserStackLimitTestCase(unittest.TestCase):
rc, out, err = assert_python_failure('-c', e) rc, out, err = assert_python_failure('-c', e)
# parsing the expression will result in an error message # parsing the expression will result in an error message
# followed by a MemoryError (see #11963) # 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): class STObjectTestCase(unittest.TestCase):
"""Test operations on ST objects themselves""" """Test operations on ST objects themselves"""