summaryrefslogtreecommitdiff
path: root/testing/test_pluginmanager.py
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2020-01-23 11:35:35 +0100
committerDaniel Hahler <git@thequod.de>2020-01-23 11:37:19 +0100
commite7444bbd5e04ec753cc29343f4705cb6c097f72a (patch)
treeb112f5b8838d0f4e6e88974b9298c862624f65f4 /testing/test_pluginmanager.py
parenteb7a57f965b885026ec5b1f728390d54d1baa11a (diff)
downloadpytest-e7444bbd5e04ec753cc29343f4705cb6c097f72a.tar.gz
tests: remove unnecessary `-rw` option
Warnings are enabled by default, which is tested by `test_getreportopt`.
Diffstat (limited to 'testing/test_pluginmanager.py')
-rw-r--r--testing/test_pluginmanager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_pluginmanager.py b/testing/test_pluginmanager.py
index e3402d207..5ddb3e41a 100644
--- a/testing/test_pluginmanager.py
+++ b/testing/test_pluginmanager.py
@@ -256,7 +256,7 @@ class TestPytestPluginManager:
)
p.copy(p.dirpath("skipping2.py"))
monkeypatch.setenv("PYTEST_PLUGINS", "skipping2")
- result = testdir.runpytest("-rw", "-p", "skipping1", syspathinsert=True)
+ result = testdir.runpytest("-p", "skipping1", syspathinsert=True)
assert result.ret == ExitCode.NO_TESTS_COLLECTED
result.stdout.fnmatch_lines(
["*skipped plugin*skipping1*hello*", "*skipped plugin*skipping2*hello*"]