diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2008-03-18 13:16:05 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2008-03-18 13:16:05 +0000 |
commit | 66e2663eba3077a4ff1e8bb4ec061b4d7a047da0 (patch) | |
tree | af7dfba220b042a9c99b7ae4d15c374945453c5e /Lib/test/test_parser.py | |
parent | afb416b002b49723f2476b7d6372282d5b76950a (diff) | |
download | cpython-git-66e2663eba3077a4ff1e8bb4ec061b4d7a047da0.tar.gz |
Note that the stderr output of the test is intentional.
Diffstat (limited to 'Lib/test/test_parser.py')
-rw-r--r-- | Lib/test/test_parser.py | 2 |
1 files changed, 2 insertions, 0 deletions
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(): |