Fixed pyflakes errors.
This commit is contained in:
parent
94b1ce65c6
commit
77e1f93ca1
|
@ -8,7 +8,7 @@ try:
|
|||
except ImportError:
|
||||
from UserDict import DictMixin as MappingMixin
|
||||
|
||||
from _pytest.runner import collect_one_node, Skipped
|
||||
from _pytest.runner import collect_one_node
|
||||
|
||||
tracebackcutdir = py.path.local(_pytest.__file__).dirpath()
|
||||
|
||||
|
|
|
@ -277,7 +277,7 @@ class TestFunction:
|
|||
assert hasattr(modcol.obj, 'test_func')
|
||||
|
||||
def test_function_as_object_instance_ignored(self, testdir):
|
||||
item = testdir.makepyfile("""
|
||||
testdir.makepyfile("""
|
||||
class A:
|
||||
def __call__(self, tmpdir):
|
||||
0/0
|
||||
|
|
Loading…
Reference in New Issue