I'm not sure why but my copy doesn't have a managers module. I'm really
confused because multiprocessing.managers exists in
Lib/multiprocessing/managers.py and it should have been installed with
easy_install...
Please see the attached testcase (it shows the details verifying that I
don't have support). I ran it against all copies of python I have
besides 3.x (nose doesn't support 3.x because setuptools isn't there yet
for 3.x support).
-bash-3.00$ python2.4 `which nosetests` ~/test_managers_support.py
Python version:
2.4.5 (#1, Mar 28 2009, 14:54:51)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)]F
======================================================================
FAIL: test_managers_support.test_has_managers
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/ws/garrcoop-sjc/tools/lib/python2.4/site-packages/nose-0.10.4-py2.4.egg/nose/case.py",
line 182, in runTest
self.test(*self.arg)
File "/users/garrcoop/test_managers_support.py", line 9, in
test_has_managers
assert hasattr(multiprocessing, 'managers')
AssertionError
----------------------------------------------------------------------
Ran 1 test in 0.050s
FAILED (failures=1)
-bash-3.00$ python2.5 `which nosetests` ~/test_managers_support.py
/ws/garrcoop-sjc/tools/lib/python2.4/site-packages/multiprocessing-2.6.1.1-py2.4-linux-i686.egg/multiprocessing/__init__.py:86:
RuntimeWarning: Python C API version mismatch for module
_multiprocessing: This Python has API version 1013, module
_multiprocessing has version 1012.
import _multiprocessing
Python version:
2.5.4 (r254:67916, Mar 28 2009, 15:01:19)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)]F
======================================================================
FAIL: test_managers_support.test_has_managers
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/ws/garrcoop-sjc/tools/lib/python2.4/site-packages/nose-0.10.4-py2.4.egg/nose/case.py",
line 182, in runTest
self.test(*self.arg)
File "/users/garrcoop/test_managers_support.py", line 9, in
test_has_managers
assert hasattr(multiprocessing, 'managers')
AssertionError
----------------------------------------------------------------------
Ran 1 test in 0.159s
FAILED (failures=1)
-bash-3.00$ python2.6 `which nosetests` ~/test_managers_support.py
F
======================================================================
FAIL: test_managers_support.test_has_managers
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/ws/garrcoop-sjc/tools/lib/python2.4/site-packages/nose-0.10.4-py2.4.egg/nose/case.py",
line 182, in runTest
self.test(*self.arg)
File "/users/garrcoop/test_managers_support.py", line 7, in
test_has_managers
assert hasattr(multiprocessing, 'managers')
AssertionError
----------------------------------------------------------------------
Ran 1 test in 0.029s
FAILED (failures=1)
|