diff options
author | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2002-02-24 05:32:32 +0000 |
---|---|---|
committer | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2002-02-24 05:32:32 +0000 |
commit | 5cef57131fc02de55133e4eafdee27fb76456bb8 (patch) | |
tree | d22cd58c3f46b5c3564d283eeb8965197b15bb93 /Lib/test/test_longexp.py | |
parent | 75a8e65873f8c73f27f353b30bb1de5aceb6b74c (diff) | |
download | cpython-git-5cef57131fc02de55133e4eafdee27fb76456bb8.tar.gz |
OS/2 EMX port Library and regression test changes:
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
Diffstat (limited to 'Lib/test/test_longexp.py')
-rw-r--r-- | Lib/test/test_longexp.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Lib/test/test_longexp.py b/Lib/test/test_longexp.py index 243b28a38b..8abb6db6d1 100644 --- a/Lib/test/test_longexp.py +++ b/Lib/test/test_longexp.py @@ -1,4 +1,12 @@ +# 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 -l = eval("[" + "2," * REPS + "]") -print len(l) +if sys.platform == "os2emx": + raise TestFailed, "OS/2+EMX port has malloc problems with long expressions" +else: + l = eval("[" + "2," * REPS + "]") + print len(l) |