summaryrefslogtreecommitdiff
path: root/Lib/test/test_parser.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-03-18 13:16:05 +0000
committerMartin v. Löwis <martin@v.loewis.de>2008-03-18 13:16:05 +0000
commit66e2663eba3077a4ff1e8bb4ec061b4d7a047da0 (patch)
treeaf7dfba220b042a9c99b7ae4d15c374945453c5e /Lib/test/test_parser.py
parentafb416b002b49723f2476b7d6372282d5b76950a (diff)
downloadcpython-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.py2
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():