mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
12 lines
325 B
Python
12 lines
325 B
Python
# 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)
|