[issue3395] typo in test_multiprocessing.py: should _debugInfo be _debug_info ?

Mark Dickinson report at bugs.python.org
Thu Jul 17 22:29:07 CEST 2008


New submission from Mark Dickinson <dickinsm at gmail.com>:

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]

----------
assignee: jnoller
keywords: easy
messages: 69904
nosy: jnoller, marketdickinson
severity: normal
status: open
title: typo in test_multiprocessing.py:  should _debugInfo be _debug_info ?
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3395>
_______________________________________


More information about the Python-bugs-list mailing list