disable default inclusion of figleaf plugin because it caused test

failures wrt to capturing/logging interaction.  pytest_figleaf should
anyway better become its own externally living plugin.

--HG--
branch : trunk
This commit is contained in:
holger krekel 2010-01-03 11:22:32 +01:00
parent 1b34492108
commit c6c7d041b7
3 changed files with 11 additions and 4 deletions

View File

@ -40,9 +40,8 @@ Changes between 1.X and 1.1.1
- change: the first pytest_collect_directory hook to return something
will now prevent further hooks to be called.
- change: pytest figleaf now requires --figleaf to run and is turned
on by default (requires the 'figleaf' package though). Change
long command line options to be a bit shorter (see py.test -h).
- change: figleaf plugin now requires --figleaf to run. Also
change its long command line options to be a bit shorter (see py.test -h).
- change: pytest doctest plugin is now enabled by default and has a
new option --doctest-glob to set a pattern for file matches.

View File

@ -99,3 +99,11 @@ The remaining uses of py.test.ensuretemp within the py-test base
itself are for setup methods. Also users have expressed the
wish to have funcargs available to setup functions. Experiment
with allowing funcargs there and finalizing deprecating py.test.ensuretemp.
outsource figleaf plugin
---------------------------------------
tags: 1.2
Packages with external dependencies should be moved out
of the core distribution. Also figleaf could serve as
another prototype for an external plugin.

View File

@ -9,7 +9,7 @@ from py.impl.test.outcome import Skipped
default_plugins = (
"default runner capture terminal mark skipping tmpdir monkeypatch "
"recwarn pdb pastebin unittest helpconfig nose assertion genscript "
"logxml figleaf doctest").split()
"logxml doctest").split()
def check_old_use(mod, modname):
clsname = modname[len('pytest_'):].capitalize() + "Plugin"