Debian Codegraph @

doc/en/announce/release-2.4.2.rst

raw
1 pytest-2.4.2: colorama on windows, plugin/tmpdir fixes
2 ===========================================================================
3
4 pytest-2.4.2 is another bug-fixing release:
5
6 - on Windows require colorama and a newer py lib so that py.io.TerminalWriter()
7 now uses colorama instead of its own ctypes hacks. (fixes issue365)
8 thanks Paul Moore for bringing it up.
9
10 - fix "-k" matching of tests where "repr" and "attr" and other names would
11 cause wrong matches because of an internal implementation quirk
12 (don't ask) which is now properly implemented. fixes issue345.
13
14 - avoid tmpdir fixture to create too long filenames especially
15 when parametrization is used (issue354)
16
17 - fix pytest-pep8 and pytest-flakes / pytest interactions
18 (collection names in mark plugin was assuming an item always
19 has a function which is not true for those plugins etc.)
20 Thanks Andi Zeidler.
21
22 - introduce node.get_marker/node.add_marker API for plugins
23 like pytest-pep8 and pytest-flakes to avoid the messy
24 details of the node.keywords pseudo-dicts. Adapted
25 docs.
26
27 - remove attempt to "dup" stdout at startup as it's icky.
28 the normal capturing should catch enough possibilities
29 of tests messing up standard FDs.
30
31 - add pluginmanager.do_configure(config) as a link to
32 config.do_configure() for plugin-compatibility
33
34 as usual, docs at http://pytest.org and upgrades via::
35
36 pip install -U pytest
37
38 have fun,
39 holger krekel