Fixed pyflakes errors.

This commit is contained in:
schlamar 2014-03-14 14:25:36 +01:00
parent 94b1ce65c6
commit 77e1f93ca1
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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