This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: tests of _TestProcess are not run by the multiprocessing test suite
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: jnoller, python-dev, sbt, xdegaye
Priority: normal Keywords: patch

Created on 2013-09-28 15:51 by xdegaye, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
testprocess.patch xdegaye, 2013-09-28 15:51 review
Messages (3)
msg198528 - (view) Author: Xavier de Gaye (xdegaye) * (Python triager) Date: 2013-09-28 15:51
class _TestProcess in Lib/test/_test_multiprocessing.py is
overshadowed by a function of the same name.  And test_current is its
first method:

$ ./python -m test -v test_multiprocessing_fork | grep test_current
$

With the attached patch:

$ ./python -m test -v test_multiprocessing_fork | grep test_current
test_current (test.test_multiprocessing_fork.WithProcessesTestProcess) ... ok
test_current (test.test_multiprocessing_fork.WithThreadsTestProcess) ... ok
$
msg198595 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-09-29 15:11
New changeset 414ccf20d182 by Benjamin Peterson in branch '3.3':
move helper function into its test method (closes #19112)
http://hg.python.org/cpython/rev/414ccf20d182

New changeset 959e894dc794 by Benjamin Peterson in branch '2.7':
move helper function into its test method (closes #19112)
http://hg.python.org/cpython/rev/959e894dc794

New changeset ea54a55a21a1 by Benjamin Peterson in branch 'default':
merge 3.3 (#19112)
http://hg.python.org/cpython/rev/ea54a55a21a1
msg198601 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-09-29 16:34
New changeset a3dd2ccdccf6 by Richard Oudkerk in branch '2.7':
Issue #19112: avoid using function defined in method.
http://hg.python.org/cpython/rev/a3dd2ccdccf6

New changeset 74752bfa6357 by Richard Oudkerk in branch '3.3':
Issue #19112: avoid using function defined in method.
http://hg.python.org/cpython/rev/74752bfa6357
History
Date User Action Args
2022-04-11 14:57:51adminsetgithub: 63311
2013-09-29 16:34:34python-devsetmessages: + msg198601
2013-09-29 15:11:21python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg198595

resolution: fixed
stage: resolved
2013-09-28 16:28:06sbtsetnosy: + sbt
2013-09-28 15:51:47xdegayecreate