Kaydet (Commit) 754140e1 authored tarafından Andrew MacIntyre's avatar Andrew MacIntyre

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.
üst 58cf361e
# 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 REPS = 65580
if sys.platform == "os2emx": l = eval("[" + "2," * REPS + "]")
raise TestFailed, "OS/2+EMX port has malloc problems with long expressions" print len(l)
else:
l = eval("[" + "2," * REPS + "]")
print len(l)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment