summaryrefslogtreecommitdiff
path: root/testing/acceptance_test.py
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2020-01-16 19:42:29 +0100
committerDaniel Hahler <git@thequod.de>2020-01-16 21:12:48 +0100
commit5049e25a6aabf1cbbff53a88bbc398f1143bba92 (patch)
tree3098c2854738656d54642c02d9e0d0309a1a73f3 /testing/acceptance_test.py
parentd36c712bb05fdae02651a61cea18e67d4efc76f8 (diff)
downloadpytest-5049e25a6aabf1cbbff53a88bbc398f1143bba92.tar.gz
tests: cleanup unused fixtures
Diffstat (limited to 'testing/acceptance_test.py')
-rw-r--r--testing/acceptance_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/acceptance_test.py b/testing/acceptance_test.py
index 8f7be14be..f65a60b44 100644
--- a/testing/acceptance_test.py
+++ b/testing/acceptance_test.py
@@ -606,7 +606,7 @@ class TestInvocationVariants:
def test_equivalence_pytest_pytest(self):
assert pytest.main == py.test.cmdline.main
- def test_invoke_with_invalid_type(self, capsys):
+ def test_invoke_with_invalid_type(self):
with pytest.raises(
TypeError, match="expected to be a list or tuple of strings, got: '-h'"
):
@@ -617,7 +617,7 @@ class TestInvocationVariants:
assert retcode == ExitCode.NO_TESTS_COLLECTED
out, err = capsys.readouterr()
- def test_invoke_plugin_api(self, testdir, capsys):
+ def test_invoke_plugin_api(self, capsys):
class MyPlugin:
def pytest_addoption(self, parser):
parser.addoption("--myopt")