From e89f128a604d157254a873b4901b83f97272a999 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 15 Mar 2002 13:50:54 +0000 Subject: Skip test_longexp for MacPython on Mac OS X. It triggers a pathological realloc slowdown. Some tests with shorter expressions lead me to the conclusion that it will eventually finish, but it may take a few weeks:-) 2.2.1 candidate. --- Lib/test/test_longexp.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_longexp.py b/Lib/test/test_longexp.py index 8abb6db..00ece6d 100644 --- a/Lib/test/test_longexp.py +++ b/Lib/test/test_longexp.py @@ -1,10 +1,14 @@ # this test has a malloc problem on OS/2+EMX, so skip test in that environment import sys -from test_support import TestFailed +from test_support import TestFailed, TestSkipped REPS = 65580 +if sys.platform == 'mac': + import gestalt + if gestalt.gestalt('sysv') > 0x9ff: + raise TestSkipped, 'Triggers pathological malloc slowdown on OSX MacPython' if sys.platform == "os2emx": raise TestFailed, "OS/2+EMX port has malloc problems with long expressions" else: -- cgit v0.12