add pluginmanager.do_configure(config) as a link to
config.do_configure() for plugin-compatibility add some more plugins to plugin-test.sh
This commit is contained in:
parent
0780f2573f
commit
19a76337a4
|
@ -21,11 +21,13 @@ Changes between 2.4.1 and 2.4.2
|
||||||
details of the node.keywords pseudo-dicts. Adapated
|
details of the node.keywords pseudo-dicts. Adapated
|
||||||
docs.
|
docs.
|
||||||
|
|
||||||
|
|
||||||
- remove attempt to "dup" stdout at startup as it's icky.
|
- remove attempt to "dup" stdout at startup as it's icky.
|
||||||
the normal capturing should catch enough possibilities
|
the normal capturing should catch enough possibilities
|
||||||
of tests messing up standard FDs.
|
of tests messing up standard FDs.
|
||||||
|
|
||||||
|
- add pluginmanager.do_configure(config) as a link to
|
||||||
|
config.do_configure() for plugin-compatibility
|
||||||
|
|
||||||
Changes between 2.4.0 and 2.4.1
|
Changes between 2.4.0 and 2.4.1
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
|
|
|
@ -76,6 +76,10 @@ class PluginManager(object):
|
||||||
self._shutdown = []
|
self._shutdown = []
|
||||||
self.hook = HookRelay(hookspecs or [], pm=self)
|
self.hook = HookRelay(hookspecs or [], pm=self)
|
||||||
|
|
||||||
|
def do_configure(self, config):
|
||||||
|
# backward compatibility
|
||||||
|
config.do_configure()
|
||||||
|
|
||||||
def set_register_callback(self, callback):
|
def set_register_callback(self, callback):
|
||||||
assert not hasattr(self, "_registercallback")
|
assert not hasattr(self, "_registercallback")
|
||||||
self._registercallback = callback
|
self._registercallback = callback
|
||||||
|
|
|
@ -9,8 +9,12 @@ cd ../pytest-instafail
|
||||||
py.test
|
py.test
|
||||||
cd ../pytest-cache
|
cd ../pytest-cache
|
||||||
py.test
|
py.test
|
||||||
|
cd ../pytest-xprocess
|
||||||
|
py.test
|
||||||
#cd ../pytest-cov
|
#cd ../pytest-cov
|
||||||
#py.test
|
#py.test
|
||||||
|
cd ../pytest-capturelog
|
||||||
|
py.test
|
||||||
cd ../pytest-xdist
|
cd ../pytest-xdist
|
||||||
py.test
|
py.test
|
||||||
|
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -3,7 +3,7 @@ from setuptools import setup, Command
|
||||||
|
|
||||||
long_description = open("README.rst").read()
|
long_description = open("README.rst").read()
|
||||||
def main():
|
def main():
|
||||||
install_requires = ["py>=1.4.17.dev2"]
|
install_requires = ["py>=1.4.17"]
|
||||||
if sys.version_info < (2,7):
|
if sys.version_info < (2,7):
|
||||||
install_requires.append("argparse")
|
install_requires.append("argparse")
|
||||||
if sys.platform == "win32":
|
if sys.platform == "win32":
|
||||||
|
|
Loading…
Reference in New Issue