summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_multiprocessing_main_handling.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-40275: Use new test.support helper submodules in tests (GH-21412)Hai Shi2020-07-091-17/+19
|
* bpo-38377: Add support.skip_if_broken_multiprocessing_synchronize() (GH-20944)Victor Stinner2020-06-181-1/+1
| | | | | | On Linux, skip tests using multiprocessing if the current user cannot create a file in /dev/shm/ directory. Add the skip_if_broken_multiprocessing_synchronize() function to the test.support module.
* bpo-35424: Fix test_multiprocessing_main_handling (GH-11223)Victor Stinner2018-12-181-18/+24
| | | | Fix test_multiprocessing_main_handling: use multiprocessing.Pool with a context manager and then explicitly join the pool.
* bpo-33913: Fix test_multiprocessing_main_handling (GH-7972)Victor Stinner2018-06-271-6/+10
| | | | | | | | | bpo-30339, bpo-33913: * Increase timeout from 10 seconds to 1 minute in test_source_main_skipped_in_children source of test_multiprocessing_main_handling. * Replace time.time() with time.monotonic(). * On timeout, include the duration in the error message.
* Trivial cleanups following bpo-31370 (#3649)Antoine Pitrou2017-09-181-2/+1
| | | | | | * Trivial cleanups following bpo-31370 * Also cleanup the "importlib._bootstrap_external" module
* bpo-30339: test_multiprocessing_main_handling timeout (#1593)Victor Stinner2017-05-151-1/+1
| | | | | test_multiprocessing_main_handling: increase the test_source timeout from 10 seconds to 60 seconds, since the test fails randomly on busy buildbots.
* Adds test.support.PGO and skips tests that are not useful for PGO.Steve Dower2016-09-071-0/+3
|
* Issue #23277: Remove unused imports in tests.Serhiy Storchaka2016-04-241-2/+1
|
* Issue #9517: Move script_helper to the support package.Berker Peksag2015-05-061-16/+15
| | | | Patch by Christie Wilson.
* Fixed bytes warnings when run tests with -vv.Serhiy Storchaka2015-03-241-1/+1
|
* Issue #22332: test_multiprocessing_main_handling is now skipped if sem_openVictor Stinner2014-09-031-0/+3
| | | | implementation is broken (ex: skipped on FreeBSD 6.4).
* Issue #20043: Add direct test for _thread.Terry Jan Reedy2014-06-131-3/+4
|
* Further increase tolerance for slow buildbotsNick Coghlan2013-12-231-2/+2
|
* skip multiprocessing main handling test when Python is built without threadsChristian Heimes2013-12-211-0/+2
|
* Issue #19946: use public API for multiprocessing start methodsNick Coghlan2013-12-201-6/+6
| | | | | | | This should appease the OpenIndiana buildbot. Also lengthened the worst case timeout to try to eliminate the inconsistent failure on one of the Windows 7 buildbots.
* Issue #19946: appropriately skip new multiprocessing testsNick Coghlan2013-12-191-9/+5
| | | | | | Thanks to Christian Heimes for noting the buildbot failures and to Zachary Ware for providing the patch to make the new tests play nice with both other platforms and unittest test discovery
* Close #19946: use runpy as needed in multiprocessingNick Coghlan2013-12-171-0/+287
- handles main files without a suffix - handles main submodules properly - adds test cases for the various kinds of __main__