From cd475c7b27147a9e0599d6994ba1f29da25ef726 Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Thu, 27 Aug 2015 20:35:46 +0200 Subject: [PATCH] minor flake8 fixes --- testing/python/collect.py | 2 +- testing/test_terminal.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/testing/python/collect.py b/testing/python/collect.py index 6a302f291..7a53cb764 100644 --- a/testing/python/collect.py +++ b/testing/python/collect.py @@ -908,7 +908,7 @@ def test_unorderable_types(testdir): """) result = testdir.runpytest() assert "TypeError" not in result.stdout.str() - assert result.ret == EXIT_NOTESTSCOLLECTED + assert result.ret == EXIT_NOTESTSCOLLECTED def test_collect_functools_partial(testdir): diff --git a/testing/test_terminal.py b/testing/test_terminal.py index 81fdfd60b..3bb526649 100644 --- a/testing/test_terminal.py +++ b/testing/test_terminal.py @@ -53,7 +53,6 @@ def pytest_generate_tests(metafunc): DistInfo(project_name='test', version=1) ], ['test-1']), ], ids=['normal', 'prefix-strip', 'deduplicate']) - def test_plugin_nameversion(input, expected): pluginlist = [(None, x) for x in input] result = _plugin_nameversions(pluginlist)