blob: 8abb6db6d15ae6ca8fcac46fa4c9f0a57ae07b02 [file] [log] [blame]
Andrew MacIntyre5cef5712002-02-24 05:32:32 +00001# this test has a malloc problem on OS/2+EMX, so skip test in that environment
2
3import sys
4from test_support import TestFailed
5
Fred Drake33438d22000-08-24 00:35:38 +00006REPS = 65580
Jeremy Hylton3c0d0132000-06-20 19:13:27 +00007
Andrew MacIntyre5cef5712002-02-24 05:32:32 +00008if sys.platform == "os2emx":
9 raise TestFailed, "OS/2+EMX port has malloc problems with long expressions"
10else:
11 l = eval("[" + "2," * REPS + "]")
12 print len(l)