summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_multiprocessing.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #12156: Skip test_multiprocessing on systems which don't support enoughCharles-François Natali2011-11-221-0/+18
| | | | POSIX semaphores (among which FreeBSD < 8).
* Issue #10332: multiprocessing: fix a race condition when a Pool is closedCharles-François Natali2011-10-241-0/+14
| | | | before all tasks have completed.
* Issue #12981: test_multiprocessing: catch ImportError when importingCharles-François Natali2011-09-211-2/+13
| | | | | multiprocessing.reduction, which may not be available (e.g. if the OS doesn't support FD passing over Unix domain sockets).
* Close #13022: _multiprocessing.recvfd() doesn't check that file descriptor ↵Jesus Cea2011-09-211-0/+17
| | | | was actually received
* Fix issue #12948: multiprocessing test failures can hang the buildbotsJesus Cea2011-09-091-2/+0
|
* Close issue #12948: multiprocessing test failures can hang the buildbotsJesus Cea2011-09-091-3/+27
|
* Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.Antoine Pitrou2011-08-231-1/+82
| | | | Also added some tests.
* Issue #12352: In test_free_from_gc(), restore the GC thresholds even if the GCCharles-François Natali2011-07-021-4/+3
| | | | wasn't enabled at first.
* Issue #12352: Fix a deadlock in multiprocessing.Heap when a block is freed byCharles-François Natali2011-07-021-0/+25
| | | | the garbage collector while the Heap lock is held.
* Issue #12285: multiprocessing.Pool() raises a ValueError if the number ofVictor Stinner2011-06-201-0/+3
| | | | processes if negative or null.
* Issue #11766: increase countdown waiting for a pool of processes to startAntoine Pitrou2011-04-061-1/+2
| | | | up. Hopefully fixes transient buildbot failures.
* Issue #11675: Zero-out newly-created multiprocessing.[Raw]Array objects.Mark Dickinson2011-03-261-0/+15
|
* Issue #11673: Fix multiprocessing.[Raw]Array constructor to accept a size of ↵Mark Dickinson2011-03-251-0/+7
| | | | type long. Thanks Robert Kern.
* #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-3/+3
|
* Merged revisions 86694 via svnmerge fromAntoine Pitrou2010-11-221-4/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86694 | antoine.pitrou | 2010-11-22 17:26:21 +0100 (lun., 22 nov. 2010) | 3 lines Fix test_multiprocessing when ctypes isn't available ........
* Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-211-12/+12
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
* Merged revisions 86130 via svnmerge fromAntoine Pitrou2010-11-021-24/+49
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86130 | antoine.pitrou | 2010-11-03 00:50:11 +0100 (mer., 03 nov. 2010) | 3 lines Issue #10173: test_multiprocessing shouldn't pickle TestCase instances ........
* Merged revisions 86077 via svnmerge fromBrian Curtin2010-11-011-1/+5
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86077 | brian.curtin | 2010-11-01 00:10:44 -0500 (Mon, 01 Nov 2010) | 3 lines Fix some ResourceErrors. Use a context manager for os.popen and explicitly close a socket. ........
* Merged revisions 85299 via svnmerge fromBrian Curtin2010-10-071-18/+12
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85299 | brian.curtin | 2010-10-06 20:12:19 -0500 (Wed, 06 Oct 2010) | 9 lines Fix #8584. Fix the skipping of a number of tests due to incorrect importing. This undoes a previous attempt to fix some of the skips. Value and copy come from sharedctypes rather than plain ctypes, and the test skipping is then done at the class level rather than test-by-test. There are zero skipped tests after the fix. ........
* Issue #8576: Remove use of find_unused_port() in test_smtplib andAntoine Pitrou2010-04-301-3/+3
| | | | test_multiprocessing. Patch by Paul Moore.
* Issue #7449, part 4: skip test_multiprocessing if thread support is disabledVictor Stinner2010-04-271-3/+4
| | | | | | import threading after _multiprocessing to raise a more revelant error message: "No module named _multiprocessing". _multiprocessing is not compiled without thread support.
* Fix typo in commentNick Coghlan2010-04-101-1/+1
|
* Try to turn some buildbots green by allowing test_multiprocessing to pass ↵Nick Coghlan2010-04-101-6/+22
| | | | even if it hits the sys.exc_clear code in the threading module, and improve the test coverage by making the ctypes dependencies a bit more granular (two of the cited ctypes objects don't exist on my system)
* Skip tests which depend on multiprocessing.sharedctypes, if _ctypes is not ↵Florent Xicluna2010-03-241-31/+33
| | | | available.
* #7092 - Silence more py3k deprecation warnings, using ↵Florent Xicluna2010-03-211-1/+3
| | | | test_support.check_py3k_warnings() helper.
* #7805: wait until all workers are started before collecting their PIDsFlorent Xicluna2010-03-041-1/+9
|
* Fix import/access for some identifiers. _TestSharedCTypes does not seem to ↵Georg Brandl2010-02-061-3/+3
| | | | be executed?
* Issue #6963: Added maxtasksperchild argument to multiprocessing.PoolJesse Noller2010-01-271-1/+25
|
* use assert[Not]IsInstance where appropriateEzio Melotti2010-01-241-1/+1
|
* use assert[Not]In where appropriateEzio Melotti2010-01-231-8/+8
|
* Reverting the Revision: 77368. I committed Flox's big patch for tests bySenthil Kumaran2010-01-081-6/+1
| | | | mistake. ( It may come in for sure tough)
* Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵Senthil Kumaran2010-01-081-1/+6
| | | | Patch by flox
* Issue #7498: make test_multiprocessing use test_support.find_unused_portR. David Murray2009-12-141-2/+3
| | | | instead of a hard coded port number in test_rapid_restart.
* comment out test added in r76438, which caused refleaksJesse Noller2009-11-241-18/+18
|
* issue6615: Additional test for logging support in multiprocessingJesse Noller2009-11-211-0/+20
|
* Issue #7272: Add configure test to detect whether sem_open worksMark Dickinson2009-11-201-1/+1
| | | | | | properly, and use this to skip test_multiprocessing on platforms where sem_open raises a signal. This should fix some FreeBSD buildbot failures for test_multiprocessing.
* Issue 6433: multiprocessing.pool.map hangs on empty listJesse Noller2009-07-161-0/+6
|
* Resolves issues 5155, 5313, 5331 - bad file descriptor error with processes ↵Jesse Noller2009-06-301-1/+69
| | | | in processes
* remove useless importBenjamin Peterson2009-04-121-1/+0
|
* Add custom initializer argument to multiprocess.Manager*, courtesy of lekmaJesse Noller2009-04-021-1/+31
|
* Fix multiprocessing.event to match the new threading.Event APIJesse Noller2009-04-011-7/+9
|
* merge in patch from tim golden to fix contextmanager support for mp.Lock()Jesse Noller2009-03-301-0/+4
|
* Change more tests to use import_module for the modules thatR. David Murray2009-03-301-5/+4
| | | | | should cause tests to be skipped. Also rename import_function to the more descriptive get_attribute and add a docstring.
* finalize the queue prior to shutdownJesse Noller2009-03-301-0/+2
|
* Issue 5177: use socket.SO_REUSEADDR on multiprocessing SocketManager socketsJesse Noller2009-03-301-0/+24
|
* fix incorrect auto-translation of TestSkipped -> unittest.SkipTestBenjamin Peterson2009-03-261-3/+2
|
* remove test_support.TestSkipped and just use unittest.SkipTestBenjamin Peterson2009-03-261-4/+4
|
* Issue 5009: multiprocessing: failure in manager._debug_info()Jesse Noller2009-01-211-0/+2
|
* Resolve issue 3321: (segfault) _multiprocessing.Connection() doesn't check ↵Jesse Noller2009-01-191-1/+15
| | | | handle
* Resolve issue 4449: AssertionError in mp_benchmarks.pyJesse Noller2009-01-181-2/+14
|