Path to this page:
Subject: CVS commit: pkgsrc/devel/py-test
From: Adam Ciarcinski
Date: 2018-11-05 09:36:25
Message id: 20181105083625.EB54CFB1C@cvs.NetBSD.org
Log Message:
py-test: updated to 3.10.0
pytest 3.10.0:
Features
* Resume capturing output after continue with \
__import__("pdb").set_trace().
This also adds a new pytest_leave_pdb hook, and passes in pdb to the existing \
pytest_enter_pdb hook.
* Add -sw, --stepwise as an alternative to --lf -x for stopping at the first \
failure, but starting the next test invocation from that test. See the \
documentation for more info.
* Make --color emit colorful dots when not running in verbose mode. Earlier, it \
would only colorize the test-by-test output if --verbose was also passed.
* Improve performance with collection reporting in non-quiet mode with terminals.
The “collecting …” message is only printed/updated every 0.5s.
Bug Fixes
* Fix false RemovedInPytest4Warning: usage of Session... is deprecated, please \
use pytest warnings.
* Fix problems with running tests in package __init__.py files.
* Swallow warnings during anonymous compilation of source.
* Fix access denied error when deleting stale directories created by tmpdir / \
tmp_path.
* Naming a fixture request will now raise a warning: the request fixture is \
internal and should not be overwritten as it will lead to internal errors.
* Handle (ignore) exceptions raised during collection, e.g. with Django’s \
LazySettings proxy class.
Improved Documentation
* Added missing documentation about the fact that module names passed to filter \
warnings are not regex-escaped.
Trivial/Internal Changes
* Display cachedir also in non-verbose mode if non-default.
* pdb: improve message about output capturing with set_trace.
Do not display “IO-capturing turned off/on” when -s is used to avoid confusion.
* Improve message and stack level of warnings issued by monkeypatch.setenv when \
the value of the environment variable is not a str.
Files: