- update to 3.9.2
* Improve error message when a recursive dependency between fixtures is detected.
* Fix logging messages not shown in hooks pytest_sessionstart() and pytest_sessionfinish().
* Fix unescaped XML raw objects in JUnit report for skipped tests
* Python 2: safely format warning message about passing unicode strings to
warnings.warn, which may cause surprising MemoryError exception when monkey
patching warnings.warn itself.
* Improve error message when it is not possible to determine a function’s signature.
* Pin setuptools>=40.0 to support py_modules in setup.cfg
* Restore the tmpdir behaviour of symlinking the current test run.
* Fix filename reported by warnings.warn when using recwarn under python2.
* For test-suites containing test classes, the information about the subclassed
module is now output only if a higher verbosity level is specified (at least “-vv”).
* The following accesses have been documented as deprecated for years, but are now
actually emitting deprecation warnings.
* Add a Deprecation warning for pytest.ensuretemp as it was deprecated since a while.
* Improve usage errors messages by hiding internal details which can
be distracting and noisy.
This has the side effect that some error conditions that previously raised
generic errors (such as ValueError for unregistered marks) are now raising
Failed exceptions.
* Log messages generated in the collection phase are shown when live-logging
is enabled and/or when they are logged to a file.
* Introduce tmp_path as a fixture providing a Path object.
* Deprecation warnings are now shown even if you customize the warnings
filters yourself. In the previous version any customization would override
pytest’s filters and deprecation warnings would fall back to being hidden by default.
* Allow specification of timeout for Testdir.runpytest_subprocess() and Testdir.run().
* Add returncode argument to pytest.exit() to exit pytest with a specific return code.
* Reimplement pytest.deprecated_call using pytest.warns so it supports
OBS-URL: https://build.opensuse.org/request/show/644834
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=18
111 KiB
111 KiB