From c52670479ad6e3e07477001cd18151ac21b7dd60 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Sun, 10 Mar 2013 03:25:45 +0200 Subject: [PATCH] #11963: fix Windows buildbots. --- Lib/test/test_parser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_parser.py b/Lib/test/test_parser.py index bbb94360896..65a762c8717 100644 --- a/Lib/test/test_parser.py +++ b/Lib/test/test_parser.py @@ -596,7 +596,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"""