summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_longexp.py
diff options
context:
space:
mode:
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>2002-07-15 12:03:19 (GMT)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>2002-07-15 12:03:19 (GMT)
commit754140e16395e385b8f7470386df61942e7fe404 (patch)
treeaab5ed8904289782b6cafe8e483ef44e5db22532 /Lib/test/test_longexp.py
parent58cf361e35ba64f51b30e75737720bc73c7f6f2e (diff)
downloadcpython-754140e16395e385b8f7470386df61942e7fe404.zip
cpython-754140e16395e385b8f7470386df61942e7fe404.tar.gz
cpython-754140e16395e385b8f7470386df61942e7fe404.tar.bz2
Tim_one's change to aggressively overallocate nodes when adding child
nodes (in Parser/node.c) resolves the gross memory consumption exhibited by the EMX runtime on OS/2, so the test should be exercised on this platform.
Diffstat (limited to 'Lib/test/test_longexp.py')
-rw-r--r--Lib/test/test_longexp.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/Lib/test/test_longexp.py b/Lib/test/test_longexp.py
index d65e72a..c2c2612 100644
--- a/Lib/test/test_longexp.py
+++ b/Lib/test/test_longexp.py
@@ -1,12 +1,5 @@
-# this test has a malloc problem on OS/2+EMX, so skip test in that environment
-
-import sys
-from test_support import TestFailed, TestSkipped
REPS = 65580
-if sys.platform == "os2emx":
- raise TestFailed, "OS/2+EMX port has malloc problems with long expressions"
-else:
- l = eval("[" + "2," * REPS + "]")
- print len(l)
+l = eval("[" + "2," * REPS + "]")
+print len(l)