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.
This commit is contained in:
parent
58cf361e35
commit
754140e163
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue