Note that the stderr output of the test is intentional.
diff --git a/Lib/test/test_parser.py b/Lib/test/test_parser.py
index 4119112..8cb68ee 100644
--- a/Lib/test/test_parser.py
+++ b/Lib/test/test_parser.py
@@ -1,5 +1,6 @@
 import parser
 import unittest
+import sys
 from test import test_support
 
 #
@@ -494,6 +495,7 @@
 
     def test_trigger_memory_error(self):
         e = self._nested_expression(100)
+        print >>sys.stderr, "Expecting 's_push: parser stack overflow' in next line"
         self.assertRaises(MemoryError, parser.expr, e)
 
 def test_main():