Debian Codegraph @

testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.2.2.rst

raw
1 pytest-2.2.2: bug fixes
2 ===========================================================================
3
4 pytest-2.2.2 (updated to 2.2.3 to fix packaging issues) is a minor
5 backward-compatible release of the versatile py.test testing tool. It
6 contains bug fixes and a few refinements particularly to reporting with
7 "--collectonly", see below for details.
8
9 For general information see here:
10
11 http://pytest.org/
12
13 To install or upgrade pytest:
14
15 pip install -U pytest # or
16 easy_install -U pytest
17
18 Special thanks for helping on this release to Ronny Pfannschmidt
19 and Ralf Schmitt and the contributors of issues.
20
21 best,
22 holger krekel
23
24
25 Changes between 2.2.1 and 2.2.2
26 ----------------------------------------
27
28 - fix issue101: wrong args to unittest.TestCase test function now
29 produce better output
30 - fix issue102: report more useful errors and hints for when a
31 test directory was renamed and some pyc/__pycache__ remain
32 - fix issue106: allow parametrize to be applied multiple times
33 e.g. from module, class and at function level.
34 - fix issue107: actually perform session scope finalization
35 - don't check in parametrize if indirect parameters are funcarg names
36 - add chdir method to monkeypatch funcarg
37 - fix crash resulting from calling monkeypatch undo a second time
38 - fix issue115: make --collectonly robust against early failure
39 (missing files/directories)
40 - "-qq --collectonly" now shows only files and the number of tests in them
41 - "-q --collectonly" now shows test ids
42 - allow adding of attributes to test reports such that it also works
43 with distributed testing (no upgrade of pytest-xdist needed)