[Python-checkins] cpython (3.2): #11963: fix Windows buildbots.

ezio.melotti python-checkins at python.org
Sun Mar 10 02:30:14 CET 2013


http://hg.python.org/cpython/rev/64b87578c071
changeset:   82579:64b87578c071
branch:      3.2
parent:      82575:10a82140f36d
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Sun Mar 10 03:25:45 2013 +0200
summary:
  #11963: fix Windows buildbots.

files:
  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
--- a/Lib/test/test_parser.py
+++ b/Lib/test/test_parser.py
@@ -611,7 +611,8 @@
         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"""

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list