minor flake8 fixes

This commit is contained in:
Ronny Pfannschmidt 2015-08-27 20:35:46 +02:00
parent c06ff2a992
commit cd475c7b27
2 changed files with 1 additions and 2 deletions

View File

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

View File

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