projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da9eeae
)
#11963: fix Windows buildbots.
author
Ezio Melotti
<ezio.melotti@gmail.com>
Sun, 10 Mar 2013 01:25:45 +0000
(
03:25
+0200)
committer
Ezio Melotti
<ezio.melotti@gmail.com>
Sun, 10 Mar 2013 01:25:45 +0000
(
03:25
+0200)
Lib/test/test_parser.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_parser.py
b/Lib/test/test_parser.py
index bbb94360896bc672af745c66bef017dbee698623..65a762c8717e7efd9162dc2788ba28d8d32eb45a 100644
(file)
--- 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"""