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:
parent
1b34492108
commit
c6c7d041b7
|
@ -40,9 +40,8 @@ Changes between 1.X and 1.1.1
|
||||||
- change: the first pytest_collect_directory hook to return something
|
- change: the first pytest_collect_directory hook to return something
|
||||||
will now prevent further hooks to be called.
|
will now prevent further hooks to be called.
|
||||||
|
|
||||||
- change: pytest figleaf now requires --figleaf to run and is turned
|
- change: figleaf plugin now requires --figleaf to run. Also
|
||||||
on by default (requires the 'figleaf' package though). Change
|
change its long command line options to be a bit shorter (see py.test -h).
|
||||||
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
|
- change: pytest doctest plugin is now enabled by default and has a
|
||||||
new option --doctest-glob to set a pattern for file matches.
|
new option --doctest-glob to set a pattern for file matches.
|
||||||
|
|
|
@ -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
|
itself are for setup methods. Also users have expressed the
|
||||||
wish to have funcargs available to setup functions. Experiment
|
wish to have funcargs available to setup functions. Experiment
|
||||||
with allowing funcargs there and finalizing deprecating py.test.ensuretemp.
|
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.
|
||||||
|
|
|
@ -9,7 +9,7 @@ from py.impl.test.outcome import Skipped
|
||||||
default_plugins = (
|
default_plugins = (
|
||||||
"default runner capture terminal mark skipping tmpdir monkeypatch "
|
"default runner capture terminal mark skipping tmpdir monkeypatch "
|
||||||
"recwarn pdb pastebin unittest helpconfig nose assertion genscript "
|
"recwarn pdb pastebin unittest helpconfig nose assertion genscript "
|
||||||
"logxml figleaf doctest").split()
|
"logxml doctest").split()
|
||||||
|
|
||||||
def check_old_use(mod, modname):
|
def check_old_use(mod, modname):
|
||||||
clsname = modname[len('pytest_'):].capitalize() + "Plugin"
|
clsname = modname[len('pytest_'):].capitalize() + "Plugin"
|
||||||
|
|
Loading…
Reference in New Issue