mirror of https://github.com/python/cpython.git
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:
parent
3d2b549d56
commit
e89f128a60
|
@ -1,10 +1,14 @@
|
||||||
# this test has a malloc problem on OS/2+EMX, so skip test in that environment
|
# this test has a malloc problem on OS/2+EMX, so skip test in that environment
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
from test_support import TestFailed
|
from test_support import TestFailed, TestSkipped
|
||||||
|
|
||||||
REPS = 65580
|
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":
|
if sys.platform == "os2emx":
|
||||||
raise TestFailed, "OS/2+EMX port has malloc problems with long expressions"
|
raise TestFailed, "OS/2+EMX port has malloc problems with long expressions"
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue