You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pytest 3.9.0 changed API for Testdir.runpytest_subprocess() and Testdir.run().
This resulted in:
========================================== FAILURES ===========================================
____________________________________ test_cover_looponfail ____________________________________
/usr/src/RPM/BUILD/python-module-pytest-cov-2.6.0/tests/test_pytest_cov.py:1041: in test_cover_looponfail
script) as process:
/usr/lib/python2.7/site-packages/_pytest/pytester.py:914: in runpytest
return self._runpytest_method(*args, **kwargs)
E TypeError: <lambda>() got an unexpected keyword argument 'timeout'
=================================== short test summary info ===================================
FAIL tests/test_pytest_cov.py::test_cover_looponfail
The text was updated successfully, but these errors were encountered:
Pytest 3.9.0 introduced a timeout for ``Testdir.runpytest_subprocess()``
and ``Testdir.run()``. So API has been changed and now it looks like
``run(self, *cmdargs, **kwargs)``.
Hence to comply the new API it needs to fix a lambda's definition.
Fixes: pytest-dev#247
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Pytest 3.9.0 introduced a timeout for ``Testdir.runpytest_subprocess()``
and ``Testdir.run()``. So API has been changed and now it looks like
``run(self, *cmdargs, **kwargs)``.
Hence to comply with the new API it needs to fix a lambda's definition.
Fixes: pytest-dev#247
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Pytest 3.9.0 changed API for
Testdir.runpytest_subprocess()
andTestdir.run()
.This resulted in:
The text was updated successfully, but these errors were encountered: