summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-03-18 13:16:05 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2008-03-18 13:16:05 (GMT)
commit66e2663eba3077a4ff1e8bb4ec061b4d7a047da0 (patch)
treeaf7dfba220b042a9c99b7ae4d15c374945453c5e /Lib
parentafb416b002b49723f2476b7d6372282d5b76950a (diff)
downloadcpython-66e2663eba3077a4ff1e8bb4ec061b4d7a047da0.zip
cpython-66e2663eba3077a4ff1e8bb4ec061b4d7a047da0.tar.gz
cpython-66e2663eba3077a4ff1e8bb4ec061b4d7a047da0.tar.bz2
Note that the stderr output of the test is intentional.
Diffstat (limited to 'Lib')
-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 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 @@ 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():