[Python-checkins] CVS: python/dist/src/Lib/test test_longexp.py,1.3,1.3.24.1
Michael Hudson
mwh@users.sourceforge.net
Sat, 16 Mar 2002 10:33:33 -0800
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv2570
Modified Files:
Tag: release22-maint
test_longexp.py
Log Message:
Merge jackjansen's checking of revision 1.5.
Index: test_longexp.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_longexp.py,v
retrieving revision 1.3
retrieving revision 1.3.24.1
diff -C2 -d -r1.3 -r1.3.24.1
*** test_longexp.py 23 Oct 2000 17:22:07 -0000 1.3
--- test_longexp.py 16 Mar 2002 18:33:31 -0000 1.3.24.1
***************
*** 1,3 ****
--- 1,11 ----
+ 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 + "]")