From: Ezio Melotti Date: Sun, 10 Mar 2013 01:25:45 +0000 (+0200) Subject: #11963: fix Windows buildbots. X-Git-Tag: v3.2.4rc1~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e7c329954c1df6e4698e2e155ef02cf7b1d38672;p=python #11963: fix Windows buildbots. --- diff --git a/Lib/test/test_parser.py b/Lib/test/test_parser.py index face39af3b..b39d37badd 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"""