From c075b3f19337a45ab1e983d83462132bb86783f5 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 24 Feb 2020 21:21:21 +0100 Subject: [PATCH] Simplify test_rootdir_wrong_option_arg --- testing/test_session.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/testing/test_session.py b/testing/test_session.py index 1f17acbbd70..1800771dad5 100644 --- a/testing/test_session.py +++ b/testing/test_session.py @@ -359,14 +359,6 @@ def test_one(): def test_rootdir_wrong_option_arg(testdir): - testdir.makepyfile( - """ - import os - def test_one(): - assert 1 - """ - ) - result = testdir.runpytest("--rootdir=wrong_dir") result.stderr.fnmatch_lines( ["*Directory *wrong_dir* not found. Check your '--rootdir' option.*"]