2011-12-16 18:38:34 +08:00
|
|
|
pytest-2.2.1: bug fixes, perfect teardowns
|
|
|
|
===========================================================================
|
|
|
|
|
2011-12-16 19:43:05 +08:00
|
|
|
|
2017-01-01 01:54:47 +08:00
|
|
|
pytest-2.2.1 is a minor backward-compatible release of the py.test
|
2011-12-16 18:38:34 +08:00
|
|
|
testing tool. It contains bug fixes and little improvements, including
|
2011-12-16 19:43:05 +08:00
|
|
|
documentation fixes. If you are using the distributed testing
|
|
|
|
pluginmake sure to upgrade it to pytest-xdist-1.8.
|
|
|
|
|
|
|
|
For general information see here:
|
2011-12-16 18:38:34 +08:00
|
|
|
|
|
|
|
http://pytest.org/
|
|
|
|
|
|
|
|
To install or upgrade pytest:
|
|
|
|
|
|
|
|
pip install -U pytest # or
|
|
|
|
easy_install -U pytest
|
|
|
|
|
|
|
|
Special thanks for helping on this release to Ronny Pfannschmidt, Jurko
|
|
|
|
Gospodnetic and Ralf Schmitt.
|
|
|
|
|
|
|
|
best,
|
|
|
|
holger krekel
|
|
|
|
|
|
|
|
|
|
|
|
Changes between 2.2.0 and 2.2.1
|
|
|
|
----------------------------------------
|
|
|
|
|
|
|
|
- fix issue99 (in pytest and py) internallerrors with resultlog now
|
2018-05-18 16:19:46 +08:00
|
|
|
produce better output - fixed by normalizing pytest_internalerror
|
2011-12-16 18:38:34 +08:00
|
|
|
input arguments.
|
|
|
|
- fix issue97 / traceback issues (in pytest and py) improve traceback output
|
|
|
|
in conjunction with jinja2 and cython which hack tracebacks
|
|
|
|
- fix issue93 (in pytest and pytest-xdist) avoid "delayed teardowns":
|
|
|
|
the final test in a test node will now run its teardown directly
|
|
|
|
instead of waiting for the end of the session. Thanks Dave Hunt for
|
|
|
|
the good reporting and feedback. The pytest_runtest_protocol as well
|
2018-05-18 16:19:46 +08:00
|
|
|
as the pytest_runtest_teardown hooks now have "nextitem" available
|
2011-12-16 18:38:34 +08:00
|
|
|
which will be None indicating the end of the test run.
|
|
|
|
- fix collection crash due to unknown-source collected items, thanks
|
|
|
|
to Ralf Schmitt (fixed by depending on a more recent pylib)
|