homepage

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: typo in test_multiprocessing.py: should _debugInfo be _debug_info ?
Type: Stage:
Components: Versions: Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: jnoller Nosy List: jnoller, mark.dickinson
Priority: normal Keywords: easy

Created on 2008年07月17日 20:29 by mark.dickinson, last changed 2022年04月11日 14:56 by admin. This issue is now closed.

Messages (3)
msg69904 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2008年07月17日 20:29
In _TestZZZNumberOfObjects in test_multiprocessing.py, at around line 1040 
(this is r65075 on the trunk), there's a line:
 print self.manager._debugInfo()
Should this be
 print self.manager._debug_info()
?
While running test_multiprocessing directly (./python.exe 
Lib/test/test_multiprocessing) I got the following traceback:
Macintosh-3:trunk dickinsm$ ./python.exe Lib/test/test_multiprocessing.py
test_array (__main__.WithProcessesTestArray) ... ok
test_getobj_getlock_obj (__main__.WithProcessesTestArray) ... ok
...
[snip lots of passing tests]
...
test_rawvalue (__main__.WithManagerTestValue) ... ok
test_value (__main__.WithManagerTestValue) ... ok
test_number_of_objects (__main__.WithManagerTestZZZNumberOfObjects) ... 
ERROR
======================================================================
ERROR: test_number_of_objects (__main__.WithManagerTestZZZNumberOfObjects)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "Lib/test/test_multiprocessing.py", line 1040, in 
test_number_of_objects
 print self.manager._debugInfo()
AttributeError: 'SyncManager' object has no attribute '_debugInfo'
----------------------------------------------------------------------
Ran 121 tests in 10.446s
FAILED (errors=1)
[53431 refs]
msg69907 - (view) Author: Jesse Noller (jnoller) * (Python committer) Date: 2008年07月17日 20:48
I can not reproduce this using r65075 of python-trunk:
test_number_of_objects (__main__.WithManagerTestZZZNumberOfObjects) ... 
ok
----------------------------------------------------------------------
Ran 121 tests in 9.165s
This is with a clean build of python against trunk it also doesn't fail 
with regrtest:
thumper:python-trunk jesse$ ./python.exe Lib/test/regrtest.py 
test_multiprocessing
This is a clean checkout
msg69908 - (view) Author: Jesse Noller (jnoller) * (Python committer) Date: 2008年07月17日 21:01
Fixed, r65077 on trunk
History
Date User Action Args
2022年04月11日 14:56:36adminsetgithub: 47645
2008年07月17日 21:01:26jnollersetstatus: open -> closed
resolution: fixed
messages: + msg69908
2008年07月17日 20:48:01jnollersetmessages: + msg69907
2008年07月17日 20:29:06mark.dickinsoncreate

AltStyle によって変換されたページ (->オリジナル) /