Commits

Georg Brandl committed 1cbb7d8

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 38828f0
  • Branches 3.2

Comments (0)

Files changed (1)

File Lib/test/regrtest.py

         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
         random.seed(random_seed)
         print("Using random seed", random_seed)
         random.shuffle(selected)