diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-03-10 01:25:45 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-03-10 01:25:45 (GMT) |
commit | e7c329954c1df6e4698e2e155ef02cf7b1d38672 (patch) | |
tree | d8d5ddd69e7860dc7d962296c9942cbae15082fc /Lib/test | |
parent | 39191840140c6a56f103290bf8c0a10e88cffd7b (diff) | |
download | cpython-e7c329954c1df6e4698e2e155ef02cf7b1d38672.zip cpython-e7c329954c1df6e4698e2e155ef02cf7b1d38672.tar.gz cpython-e7c329954c1df6e4698e2e155ef02cf7b1d38672.tar.bz2 |
#11963: fix Windows buildbots.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_parser.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_parser.py b/Lib/test/test_parser.py index face39a..b39d37b 100644 --- a/Lib/test/test_parser.py +++ b/Lib/test/test_parser.py @@ -611,7 +611,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""" |