Disable the test for importing very long lists for MacPython: it triggers
an out-of-memory condition (and a hang on OSX). Filed a bug report
(#571845) to make sure this is eventually fixed.
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py
index 1ddd13e..dea0c35 100644
--- a/Lib/test/test_import.py
+++ b/Lib/test/test_import.py
@@ -107,4 +107,5 @@
if os.path.exists(fname):
os.unlink(fname)
-test_module_with_large_stack('longlist')
+if sys.platform != 'mac':
+ test_module_with_large_stack('longlist')