[Python-checkins] python/dist/src/Lib/test test_longexp.py,1.6,1.7 test_import.py,1.15,1.16

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Mon, 08 Jul 2002 03:07:28 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv25966

Modified Files:
	test_longexp.py test_import.py 
Log Message:
Got rid of special case for Macintosh realloc slowdown: Tim fixed the problem.

Index: test_longexp.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_longexp.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** test_longexp.py	16 Apr 2002 01:38:40 -0000	1.6
--- test_longexp.py	8 Jul 2002 10:07:25 -0000	1.7
***************
*** 6,13 ****
  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"
--- 6,9 ----

Index: test_import.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_import.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** test_import.py	20 Jun 2002 21:34:35 -0000	1.15
--- test_import.py	8 Jul 2002 10:07:25 -0000	1.16
***************
*** 108,111 ****
              os.unlink(fname)
  
! if sys.platform != 'mac':
!     test_module_with_large_stack('longlist')
--- 108,110 ----
              os.unlink(fname)
  
! test_module_with_large_stack('longlist')