Georg Brandl  committed 0e68e31

Remove setting hash seed to regrtest's random seed and re-execv()ing: this doesn't preserve Python flags and fails from a temp directory.

  • Participants
  • Parent commits 2a83c7e
  • Branches 3.1

Comments (0)

Files changed (1)

File Lib/test/

         except ValueError:
             print("Couldn't find starting test (%s), using all tests" % start)
     if randomize:
-        hashseed = os.getenv('PYTHONHASHSEED')
-        if not hashseed:
-            os.environ['PYTHONHASHSEED'] = str(random_seed)
-            os.execv(sys.executable, [sys.executable] + sys.argv)
-            return
         print("Using random seed", random_seed)