--- you can reply above this line ---
New issue 193: os module has no attribute 'fork' on Windows
https://bitbucket.org/hpk42/pytest/issue/193/os-module-has-no-attribute-fork-on-windows
Anonymous:
executing
py.test --boxed
on Windows failed with the error:
Traceback (most recent call last):
File "c:\python27\lib\site-packages\_pytest\main.py", line 74, in wrap_session
doit(config, session)
File "c:\python27\lib\site-packages\_pytest\main.py", line 106, in _main
config.hook.pytest_runtestloop(session=session)
File "c:\python27\lib\site-packages\_pytest\core.py", line 421, in __call__
return self._docall(methods, kwargs)
File "c:\python27\lib\site-packages\_pytest\core.py", line 432, in _docall
res = mc.execute()
File "c:\python27\lib\site-packages\_pytest\core.py", line 350, in execute
res = method(**kwargs)
File "c:\python27\lib\site-packages\_pytest\main.py", line 119, in
pytest_runtestloop
item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
File "c:\python27\lib\site-packages\_pytest\core.py", line 421, in __call__
return self._docall(methods, kwargs)
File "c:\python27\lib\site-packages\_pytest\core.py", line 432, in _docall
res = mc.execute()
File "c:\python27\lib\site-packages\_pytest\core.py", line 350, in execute
res = method(**kwargs)
File
"c:\python27\lib\site-packages\pytest_xdist-1.8-py2.7.egg\xdist\plugin.py",
line 85, in pytest_runtest_protocol
reports = forked_run_report(item)
File
"c:\python27\lib\site-packages\pytest_xdist-1.8-py2.7.egg\xdist\plugin.py",
line 105, in forked_run_report
ff = py.process.ForkedFunc(runforked)
File "c:\python27\lib\site-packages\py\_process\forkedfunc.py", line 30, in
__init__
pid = os.fork()
AttributeError: 'module' object has no attribute 'fork'
--
This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.
_______________________________________________
py-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/py-dev