summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2002-03-16 18:33:31 (GMT)
committerMichael W. Hudson <mwh@python.net>2002-03-16 18:33:31 (GMT)
commiteae11ba4d2237ab568289be3b79b85c493be3b9a (patch)
tree95585e8b4372710c2d8395c48d87c5ffae8fbd38
parentfe69139f7e960c52aab54e2b6b1026ced68024d4 (diff)
downloadcpython-eae11ba4d2237ab568289be3b79b85c493be3b9a.zip
cpython-eae11ba4d2237ab568289be3b79b85c493be3b9a.tar.gz
cpython-eae11ba4d2237ab568289be3b79b85c493be3b9a.tar.bz2
Merge jackjansen's checking of revision 1.5.
-rw-r--r--Lib/test/test_longexp.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/test/test_longexp.py b/Lib/test/test_longexp.py
index 243b28a..555664f 100644
--- a/Lib/test/test_longexp.py
+++ b/Lib/test/test_longexp.py
@@ -1,4 +1,12 @@
+import sys
+from test_support import TestSkipped
+
REPS = 65580
+if sys.platform == 'mac':
+ import gestalt
+ if gestalt.gestalt('sysv') > 0x9ff:
+ raise TestSkipped, 'Triggers pathological malloc slowdown on OSX MacPython'
+
l = eval("[" + "2," * REPS + "]")
print len(l)