]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merge jackjansen's checking of revision 1.5.
authorMichael W. Hudson <mwh@python.net>
Sat, 16 Mar 2002 18:33:31 +0000 (18:33 +0000)
committerMichael W. Hudson <mwh@python.net>
Sat, 16 Mar 2002 18:33:31 +0000 (18:33 +0000)
Lib/test/test_longexp.py

index 243b28a38bafaad57c18cbc9334879a5002d7ca0..555664f05a43965049f94605eefbc0c6ed1b152c 100644 (file)
@@ -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)