From: Martin v. Löwis Date: Tue, 18 Mar 2008 13:16:05 +0000 (+0000) Subject: Note that the stderr output of the test is intentional. X-Git-Tag: v2.6a2~271 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66e2663eba3077a4ff1e8bb4ec061b4d7a047da0;p=python 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 411911211a..8cb68eee6f 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 @@ 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():