* performing funcarg setup during setup-phase

* make item.runtest() be a clean function and have
  the caller deal with the deprecated invocation

--HG--
branch : trunk
This commit is contained in:
holger krekel
2009-05-06 08:38:42 +02:00
parent aad04ea8ae
commit a72b351139
4 changed files with 20 additions and 15 deletions

View File

@@ -105,7 +105,7 @@ class TestCollectDeprecated:
funcitem = modcol.collect()[0]
assert funcitem.name == 'test_func'
recwarn.clear()
funcitem.runtest()
funcitem._deprecated_testexecution()
recwarn.pop(DeprecationWarning)
def test_function_custom_execute(self, testdir, recwarn):