Debian Codegraph @

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

raw
1 pytest-2.7.1: bug fixes
2 =======================
3
4 pytest is a mature Python testing tool with more than 1100 tests
5 against itself, passing on many different interpreters and platforms.
6 This release is supposed to be drop-in compatible to 2.7.0.
7
8 See below for the changes and see docs at:
9
10 http://pytest.org
11
12 As usual, you can upgrade from pypi via::
13
14 pip install -U pytest
15
16 Thanks to all who contributed to this release, among them:
17
18 Bruno Oliveira
19 Holger Krekel
20 Ionel Maries Cristian
21 Floris Bruynooghe
22
23 Happy testing,
24 The py.test Development Team
25
26
27 2.7.1 (compared to 2.7.0)
28 -------------------------
29
30 - fix issue731: do not get confused by the braces which may be present
31 and unbalanced in an object's repr while collapsing False
32 explanations. Thanks Carl Meyer for the report and test case.
33
34 - fix issue553: properly handling inspect.getsourcelines failures in
35 FixtureLookupError which would lead to an internal error,
36 obfuscating the original problem. Thanks talljosh for initial
37 diagnose/patch and Bruno Oliveira for final patch.
38
39 - fix issue660: properly report scope-mismatch-access errors
40 independently from ordering of fixture arguments. Also
41 avoid the pytest internal traceback which does not provide
42 information to the user. Thanks Holger Krekel.
43
44 - streamlined and documented release process. Also all versions
45 (in setup.py and documentation generation) are now read
46 from _pytest/__init__.py. Thanks Holger Krekel.
47
48 - fixed docs to remove the notion that yield-fixtures are experimental.
49 They are here to stay :) Thanks Bruno Oliveira.
50
51 - Support building wheels by using environment markers for the
52 requirements. Thanks Ionel Maries Cristian.
53
54 - fixed regression to 2.6.4 which surfaced e.g. in lost stdout capture printing
55 when tests raised SystemExit. Thanks Holger Krekel.
56
57 - reintroduced _pytest fixture of the pytester plugin which is used
58 at least by pytest-xdist.