]> granicus.if.org Git - python/commit
Enhance support.reap_children() (#3036)
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 10 Aug 2017 14:01:47 +0000 (16:01 +0200)
committerGitHub <noreply@github.com>
Thu, 10 Aug 2017 14:01:47 +0000 (16:01 +0200)
commitb5011479808b80545bdd1246725fc7940691b084
treed173af1620fb279835d0a134ac164bd3eb46d557
parentaa8ec34ad52bb3b274ce91169e1bc4a598655049
Enhance support.reap_children() (#3036)

* reap_children() now sets environment_altered to True to detect bugs
  using python3 -m test --fail-env-changed
* Replace bare "except:" with "except OSError:" in reap_children()
* Write an unit test for reap_children() using a timeout of 60
  seconds
Lib/test/support/__init__.py
Lib/test/test_support.py