From eae11ba4d2237ab568289be3b79b85c493be3b9a Mon Sep 17 00:00:00 2001 From: "Michael W. Hudson" Date: Sat, 16 Mar 2002 18:33:31 +0000 Subject: Merge jackjansen's checking of revision 1.5. --- Lib/test/test_longexp.py | 8 ++++++++ 1 file changed, 8 insertions(+) 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) -- cgit v0.12