2002-02-24 05:32:32 +00:00
|
|
|
# this test has a malloc problem on OS/2+EMX, so skip test in that environment
|
|
|
|
|
|
|
|
import sys
|
2002-03-15 13:50:54 +00:00
|
|
|
from test_support import TestFailed, TestSkipped
|
2002-02-24 05:32:32 +00:00
|
|
|
|
2000-08-24 00:35:38 +00:00
|
|
|
REPS = 65580
|
2000-06-20 19:13:27 +00:00
|
|
|
|
2002-02-24 05:32:32 +00:00
|
|
|
if sys.platform == "os2emx":
|
|
|
|
raise TestFailed, "OS/2+EMX port has malloc problems with long expressions"
|
|
|
|
else:
|
|
|
|
l = eval("[" + "2," * REPS + "]")
|
|
|
|
print len(l)
|