]> granicus.if.org Git - python/commitdiff
Tim_one's change to aggressively overallocate nodes when adding child
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>
Mon, 15 Jul 2002 12:03:19 +0000 (12:03 +0000)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>
Mon, 15 Jul 2002 12:03:19 +0000 (12:03 +0000)
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.

Lib/test/test_longexp.py

index d65e72a4ddbfaab351f7826d0929db3cda6ce124..c2c26125c86d4da4252a30c2fc8057a5c59723d3 100644 (file)
@@ -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)