mirror of
https://github.com/python/cpython.git
synced 2025-09-11 11:17:16 +00:00

Lib/ os.py os2emxpath.py // added - OS/2 EMX specific path manipulation routines popen2.py site.py Lib/test/ test_fcntl.py test_longexp.py
12 lines
312 B
Python
12 lines
312 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
|
|
|
|
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)
|