mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
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 changed files with 2 additions and 9 deletions
|
@ -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
|
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)
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue