summaryrefslogtreecommitdiffstats
path: root/Lib/test/_test_eintr.py
Commit message (Collapse)AuthorAgeFilesLines
* Tests call sleeping_retry() with SHORT_TIMEOUT (#93870)Victor Stinner2022-06-151-1/+1
| | | | | | | Tests now call busy_retry() and sleeping_retry() with SHORT_TIMEOUT or LONG_TIMEOUT (of test.support), rather than hardcoded constants. Add also WAIT_ACTIVE_CHILDREN_TIMEOUT constant to _test_multiprocessing.
* Use support.sleeping_retry() and support.busy_retry() (#93848)Victor Stinner2022-06-151-7/+7
| | | | | | * Replace time.sleep(0.010) with sleeping_retry() to use an exponential sleep. * support.wait_process(): reuse sleeping_retry(). * _test_eintr: remove unused variables.
* bpo-42639: Add script_helper.run_test_script() (GH-23777)Victor Stinner2020-12-151-0/+530
* Add run_test_script() function to test.support.script_helper. * Rename Lib/test/eintrdata/eintr_tester.py to Lib/test/_test_eintr.py. * test_eintr.py uses run_test_script().