[Python-checkins] r80034 - python/branches/py3k-issue4970/Lib/test/regrtest.py

mark.dickinson python-checkins at python.org
Tue Apr 13 13:30:53 CEST 2010


Author: mark.dickinson
Date: Tue Apr 13 13:30:53 2010
New Revision: 80034

Log:
Make regrtest act as though the only arguments passed were test_os and test_wait3.

Modified:
   python/branches/py3k-issue4970/Lib/test/regrtest.py

Modified: python/branches/py3k-issue4970/Lib/test/regrtest.py
==============================================================================
--- python/branches/py3k-issue4970/Lib/test/regrtest.py	(original)
+++ python/branches/py3k-issue4970/Lib/test/regrtest.py	Tue Apr 13 13:30:53 2010
@@ -260,6 +260,8 @@
              'runleaks', 'huntrleaks=', 'memlimit=', 'randseed=',
              'multiprocess=', 'slaveargs=', 'forever', 'debug', 'start=',
              'nowindows'])
+        # Issue #4970: pretend that args were test_os and test_wait3
+        args = ['test_os', 'test_wait3']
     except getopt.error as msg:
         usage(msg)
 
@@ -294,7 +296,9 @@
         elif o in ('-S', '--slow'):
             print_slow = True
         elif o in ('-r', '--randomize'):
-            randomize = True
+            # Issue 4970: don't randomize
+            # randomize = True
+            pass
         elif o == '--randseed':
             random_seed = int(a)
         elif o in ('-f', '--fromfile'):


More information about the Python-checkins mailing list