[svn r63359] change funcargs naming to use __

--HG--
branch : trunk
This commit is contained in:
hpk
2009-03-26 13:50:12 +01:00
parent 2c0ec27d1a
commit 662e6905ef
14 changed files with 32 additions and 32 deletions

View File

@@ -2,12 +2,12 @@ import py
class IocapturePlugin:
""" capture sys.stdout/sys.stderr / fd1/fd2. """
def pytest_funcarg_stdcapture(self, pyfuncitem):
def pytest_funcarg__stdcapture(self, pyfuncitem):
capture = Capture(py.io.StdCapture)
pyfuncitem.addfinalizer(capture.finalize)
return capture
def pytest_funcarg_stdcapturefd(self, pyfuncitem):
def pytest_funcarg__stdcapturefd(self, pyfuncitem):
capture = Capture(py.io.StdCaptureFD)
pyfuncitem.addfinalizer(capture.finalize)
return capture