minor flake8 fixes
This commit is contained in:
parent
c06ff2a992
commit
cd475c7b27
|
@ -908,7 +908,7 @@ def test_unorderable_types(testdir):
|
||||||
""")
|
""")
|
||||||
result = testdir.runpytest()
|
result = testdir.runpytest()
|
||||||
assert "TypeError" not in result.stdout.str()
|
assert "TypeError" not in result.stdout.str()
|
||||||
assert result.ret == EXIT_NOTESTSCOLLECTED
|
assert result.ret == EXIT_NOTESTSCOLLECTED
|
||||||
|
|
||||||
|
|
||||||
def test_collect_functools_partial(testdir):
|
def test_collect_functools_partial(testdir):
|
||||||
|
|
|
@ -53,7 +53,6 @@ def pytest_generate_tests(metafunc):
|
||||||
DistInfo(project_name='test', version=1)
|
DistInfo(project_name='test', version=1)
|
||||||
], ['test-1']),
|
], ['test-1']),
|
||||||
], ids=['normal', 'prefix-strip', 'deduplicate'])
|
], ids=['normal', 'prefix-strip', 'deduplicate'])
|
||||||
|
|
||||||
def test_plugin_nameversion(input, expected):
|
def test_plugin_nameversion(input, expected):
|
||||||
pluginlist = [(None, x) for x in input]
|
pluginlist = [(None, x) for x in input]
|
||||||
result = _plugin_nameversions(pluginlist)
|
result = _plugin_nameversions(pluginlist)
|
||||||
|
|
Loading…
Reference in New Issue