[Python-checkins] r61518 - python/trunk/Lib/test/test_parser.py
martin.v.loewis
python-checkins at python.org
Tue Mar 18 14:16:06 CET 2008
Author: martin.v.loewis
Date: Tue Mar 18 14:16:05 2008
New Revision: 61518
Modified:
python/trunk/Lib/test/test_parser.py
Log:
Note that the stderr output of the test is intentional.
Modified: python/trunk/Lib/test/test_parser.py
==============================================================================
--- python/trunk/Lib/test/test_parser.py (original)
+++ python/trunk/Lib/test/test_parser.py Tue Mar 18 14:16:05 2008
@@ -1,5 +1,6 @@
import parser
import unittest
+import sys
from test import test_support
#
@@ -494,6 +495,7 @@
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():
More information about the Python-checkins
mailing list