]> granicus.if.org Git - python/commitdiff
Note that the stderr output of the test is intentional.
authorMartin v. Löwis <martin@v.loewis.de>
Tue, 18 Mar 2008 13:16:05 +0000 (13:16 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Tue, 18 Mar 2008 13:16:05 +0000 (13:16 +0000)
Lib/test/test_parser.py

index 411911211a3e9bbcf5b03998cc4319290746ad0a..8cb68eee6fc6aa07c302690a01c1c1af9d695012 100644 (file)
@@ -1,5 +1,6 @@
 import parser
 import unittest
+import sys
 from test import test_support
 
 #
@@ -494,6 +495,7 @@ class ParserStackLimitTestCase(unittest.TestCase):
 
     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():