Staging
v0.8.1
https://github.com/python/cpython
Revision bcf042ff98b6261b7780c1e40fa1681ef30502f9 authored by Miss Islington (bot) on 12 September 2017, 23:14:09 UTC, committed by Victor Stinner on 12 September 2017, 23:14:09 UTC
* test_thread.test_forkinthread() now waits until the thread completes.
* Check the status in the test method, not in the thread function
* Don't ignore RuntimeError anymore: since the commit
  346cbd351ee0dd3ab9cb9f0e4cb625556707877e (bpo-16500,
  os.register_at_fork(), os.fork() cannot fail anymore with
  RuntimeError.
* Replace 0.01 literal with a new POLL_SLEEP constant
* test_forkinthread(): test if os.fork() exists rather than testing
  the platform.
(cherry picked from commit a15d155aadfad232158f530278505cdc6f326f93)
1 parent c0e7736
History
Tip revision: bcf042ff98b6261b7780c1e40fa1681ef30502f9 authored by Miss Islington (bot) on 12 September 2017, 23:14:09 UTC
[3.6] bpo-31234: Enhance test_thread.test_forkinthread() (GH-3516) (#3519)
Tip revision: bcf042f
File Mode Size
package
Arithmetic.py -rw-r--r-- 13.2 KB
Calls.py -rw-r--r-- 9.0 KB
CommandLine.py -rw-r--r-- 16.5 KB
Constructs.py -rw-r--r-- 12.9 KB
Dict.py -rw-r--r-- 9.0 KB
Exceptions.py -rw-r--r-- 13.1 KB
Imports.py -rw-r--r-- 2.9 KB
Instances.py -rw-r--r-- 1.4 KB
LICENSE -rw-r--r-- 1.1 KB
Lists.py -rw-r--r-- 6.3 KB
Lookups.py -rw-r--r-- 14.9 KB
NewInstances.py -rw-r--r-- 1.5 KB
Numbers.py -rw-r--r-- 15.8 KB
README -rw-r--r-- 14.0 KB
Setup.py -rwxr-xr-x 961 bytes
Strings.py -rw-r--r-- 10.7 KB
Tuples.py -rw-r--r-- 7.8 KB
Unicode.py -rw-r--r-- 10.8 KB
With.py -rw-r--r-- 4.0 KB
clockres.py -rwxr-xr-x 1.2 KB
pybench.py -rwxr-xr-x 31.9 KB
systimes.py -rwxr-xr-x 6.5 KB

README

back to top