2013-10-04 01:09:18 +08:00
|
|
|
pytest-2.4.2: colorama on windows, plugin/tmpdir fixes
|
|
|
|
===========================================================================
|
|
|
|
|
|
|
|
pytest-2.4.2 is another bug-fixing release:
|
|
|
|
|
2013-10-04 18:34:47 +08:00
|
|
|
- on Windows require colorama and a newer py lib so that py.io.TerminalWriter()
|
|
|
|
now uses colorama instead of its own ctypes hacks. (fixes issue365)
|
|
|
|
thanks Paul Moore for bringing it up.
|
|
|
|
|
2013-10-04 01:09:18 +08:00
|
|
|
- fix "-k" matching of tests where "repr" and "attr" and other names would
|
|
|
|
cause wrong matches because of an internal implementation quirk
|
|
|
|
(don't ask) which is now properly implemented. fixes issue345.
|
|
|
|
|
|
|
|
- avoid tmpdir fixture to create too long filenames especially
|
|
|
|
when parametrization is used (issue354)
|
|
|
|
|
|
|
|
- fix pytest-pep8 and pytest-flakes / pytest interactions
|
|
|
|
(collection names in mark plugin was assuming an item always
|
|
|
|
has a function which is not true for those plugins etc.)
|
|
|
|
Thanks Andi Zeidler.
|
|
|
|
|
|
|
|
- introduce node.get_marker/node.add_marker API for plugins
|
|
|
|
like pytest-pep8 and pytest-flakes to avoid the messy
|
2014-10-14 06:12:01 +08:00
|
|
|
details of the node.keywords pseudo-dicts. Adapted
|
2013-10-04 01:09:18 +08:00
|
|
|
docs.
|
|
|
|
|
|
|
|
- remove attempt to "dup" stdout at startup as it's icky.
|
|
|
|
the normal capturing should catch enough possibilities
|
2018-05-18 16:19:46 +08:00
|
|
|
of tests messing up standard FDs.
|
2013-10-04 01:09:18 +08:00
|
|
|
|
2018-05-18 16:19:46 +08:00
|
|
|
- add pluginmanager.do_configure(config) as a link to
|
2013-10-04 18:34:47 +08:00
|
|
|
config.do_configure() for plugin-compatibility
|
|
|
|
|
2013-10-04 01:09:18 +08:00
|
|
|
as usual, docs at http://pytest.org and upgrades via::
|
|
|
|
|
|
|
|
pip install -U pytest
|
|
|
|
|
|
|
|
have fun,
|
|
|
|
holger krekel
|