From 1695bcb8488a1da3af0e699b03f59421c271c313 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Mon, 8 Jul 2002 10:07:25 +0000 Subject: [PATCH] Got rid of special case for Macintosh realloc slowdown: Tim fixed the problem. --- Lib/test/test_import.py | 3 +-- Lib/test/test_longexp.py | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index dea0c35a5b..1ddd13e6b2 100644 --- a/Lib/test/test_import.py +++ b/Lib/test/test_import.py @@ -107,5 +107,4 @@ def test_module_with_large_stack(module): if os.path.exists(fname): os.unlink(fname) -if sys.platform != 'mac': - test_module_with_large_stack('longlist') +test_module_with_large_stack('longlist') diff --git a/Lib/test/test_longexp.py b/Lib/test/test_longexp.py index b7842f99b6..d65e72a4dd 100644 --- a/Lib/test/test_longexp.py +++ b/Lib/test/test_longexp.py @@ -5,10 +5,6 @@ from test_support import TestFailed, TestSkipped REPS = 65580 -if sys.platform == 'mac': - import gestalt - if gestalt.gestalt('sysv') > 0x9ff: - raise TestSkipped, 'Triggers pathological malloc slowdown on OSX MacPython' if sys.platform == "os2emx": raise TestFailed, "OS/2+EMX port has malloc problems with long expressions" else: -- 2.40.0