Remove code debugging leftovers
This commit is contained in:
parent
d97473e551
commit
6a2d122a50
|
@ -870,7 +870,6 @@ class FixtureDef(object):
|
||||||
def execute(self, request):
|
def execute(self, request):
|
||||||
# get required arguments and register our own finish()
|
# get required arguments and register our own finish()
|
||||||
# with their finalization
|
# with their finalization
|
||||||
# TODO CHECK HOW TO AVOID EXPLICITLY FINALIZING AGAINST ARGNAMES
|
|
||||||
for argname in self.argnames:
|
for argname in self.argnames:
|
||||||
fixturedef = request._get_active_fixturedef(argname)
|
fixturedef = request._get_active_fixturedef(argname)
|
||||||
if argname != "request":
|
if argname != "request":
|
||||||
|
|
|
@ -327,7 +327,6 @@ class SetupState(object):
|
||||||
assert callable(finalizer)
|
assert callable(finalizer)
|
||||||
# assert colitem in self.stack # some unit tests don't setup stack :/
|
# assert colitem in self.stack # some unit tests don't setup stack :/
|
||||||
self._finalizers.setdefault(colitem, []).append(finalizer)
|
self._finalizers.setdefault(colitem, []).append(finalizer)
|
||||||
pass
|
|
||||||
|
|
||||||
def _pop_and_teardown(self):
|
def _pop_and_teardown(self):
|
||||||
colitem = self.stack.pop()
|
colitem = self.stack.pop()
|
||||||
|
|
|
@ -1904,7 +1904,7 @@ class TestAutouseManagement(object):
|
||||||
"setup-2", "step1-2", "step2-2", "teardown-2",]
|
"setup-2", "step1-2", "step2-2", "teardown-2",]
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
reprec = testdir.inline_run("-v")
|
reprec = testdir.inline_run("-s")
|
||||||
reprec.assertoutcome(passed=5)
|
reprec.assertoutcome(passed=5)
|
||||||
|
|
||||||
def test_ordering_autouse_before_explicit(self, testdir):
|
def test_ordering_autouse_before_explicit(self, testdir):
|
||||||
|
|
Loading…
Reference in New Issue