mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
13 lines
280 B
Python
13 lines
280 B
Python
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)
|