小编NJN*_*NJN的帖子

Pytest/xdist 中的序列化问题

Replacing crashed worker gw0
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/usr/local/lib/python3.7/site-packages/_pytest/main.py", line 191, in wrap_session
INTERNALERROR>     session.exitstatus = doit(config, session) or 0
INTERNALERROR>   File "/usr/local/lib/python3.7/site-packages/_pytest/main.py", line 246, in _main
INTERNALERROR>     config.hook.pytest_collection(session=session)
INTERNALERROR>   File "/Users/Library/Python/3.7/lib/python/site-packages/pluggy/hooks.py", line 286, in __call__
INTERNALERROR>     return self._hookexec(self, self.get_hookimpls(), kwargs)
INTERNALERROR>   File "/Users/Library/Python/3.7/lib/python/site-packages/pluggy/manager.py", line 93, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR>   File "/Users/Library/Python/3.7/lib/python/site-packages/pluggy/manager.py", line 87, in <lambda>
INTERNALERROR>     firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
INTERNALERROR>   File "/Users/Library/Python/3.7/lib/python/site-packages/pluggy/callers.py", line 208, in _multicall
INTERNALERROR>     return outcome.get_result() …
Run Code Online (Sandbox Code Playgroud)

pytest python-3.x xdist pytest-xdist

5
推荐指数
0
解决办法
1207
查看次数

标签 统计

pytest ×1

pytest-xdist ×1

python-3.x ×1

xdist ×1