[Pytest-commit] Issue #448: pytest-xdist: AttributeError: 'module' object has no attribute '__all__' (hpk42/pytest)
Sebastian Pawluś
issues-reply at bitbucket.org
Thu Feb 6 19:20:19 CET 2014
New issue 448: pytest-xdist: AttributeError: 'module' object has no attribute '__all__'
https://bitbucket.org/hpk42/pytest/issue/448/pytest-xdist-attributeerror-module-object
Sebastian Pawluś:
```
#!python
~/buildbot/slave/hippy_1/Linux64/build$ ../../../virtualenv/bin/py.test testing/ -n 5
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2
plugins: xdist
gw0 C / gw1 C / gw2 C / gw3 C / gw4 C[gw1] node down: Traceback (most recent call last):
File "/home/buildbot/buildbot/slave/virtualenv/local/lib/python2.7/site-packages/execnet/gateway_base.py", line 1029, in executetask
do_exec(co, loc) # noqa
File "<string>", line 1, in do_exec
File "<remote exec>", line 139, in <module>
File "<remote exec>", line 117, in remote_initconfig
File "/home/buildbot/buildbot/slave/virtualenv/local/lib/python2.7/site-packages/_pytest/config.py", line 646, in fromdictargs
pluginmanager = get_plugin_manager()
File "/home/buildbot/buildbot/slave/virtualenv/local/lib/python2.7/site-packages/_pytest/config.py", line 46, in get_plugin_manager
pluginmanager.import_plugin(spec)
File "/home/buildbot/buildbot/slave/virtualenv/local/lib/python2.7/site-packages/_pytest/core.py", line 230, in import_plugin
self.register(mod, modname)
File "/home/buildbot/buildbot/slave/virtualenv/local/lib/python2.7/site-packages/_pytest/core.py", line 99, in register
reg(plugin, name)
File "/home/buildbot/buildbot/slave/virtualenv/local/lib/python2.7/site-packages/_pytest/config.py", line 600, in _register_plugin
setns(pytest, dic)
File "/home/buildbot/buildbot/slave/virtualenv/local/lib/python2.7/site-packages/_pytest/config.py", line 859, in setns
obj.__all__.append(name)
AttributeError: 'module' object has no attribute '__all__'
```
other things installed along with pytest and pytest-xdist
```
#!bash
:~/buildbot/slave/hippy_1/Linux64/build$ ../../../virtualenv/bin/pip freeze
Twisted==13.2.0
argparse==1.2.1
buildbot-slave==0.8.8
execnet==1.2.0
prettytable==0.7.2
py==1.4.20
pyflakes==0.7.3
pytest==2.5.2
pytest-xdist==1.10
rply==0.7.2
wsgiref==0.1.2
zope.interface==4.1.0
```
More information about the pytest-commit
mailing list