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)