* 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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user