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.
This commit is contained in:
Jack Jansen 2002-03-15 13:50:54 +00:00
parent 3d2b549d56
commit e89f128a60
1 changed files with 5 additions and 1 deletions

View File

@ -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: