]> granicus.if.org Git - python/commit
bpo-36670: regrtest bug fixes (GH-16537)
authorVictor Stinner <vstinner@python.org>
Wed, 2 Oct 2019 11:35:11 +0000 (13:35 +0200)
committerGitHub <noreply@github.com>
Wed, 2 Oct 2019 11:35:11 +0000 (13:35 +0200)
commit2ea71a07d0a720707094ee55f78fd232c40724bc
treefb4b9586f6f7defa3859ef633c6421e573ecf1b2
parentb9a8b8296cd7be22f8b5bf92af686a788c47c7bf
bpo-36670: regrtest bug fixes (GH-16537)

* Fix TestWorkerProcess.__repr__(): start_time is only valid
  if _popen is not None.
* Fix _kill(): don't set _killed to True if _popen is None.
* _run_process(): only set _killed to False after calling
  run_test_in_subprocess().
Lib/test/libregrtest/runtest_mp.py