Skip to content

Commit 952cab2

Browse files
authored
Simplify test_rootdir_wrong_option_arg (#6812)
1 parent f77d606 commit 952cab2

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

testing/test_session.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -359,14 +359,6 @@ def test_one():
359359

360360

361361
def test_rootdir_wrong_option_arg(testdir):
362-
testdir.makepyfile(
363-
"""
364-
import os
365-
def test_one():
366-
assert 1
367-
"""
368-
)
369-
370362
result = testdir.runpytest("--rootdir=wrong_dir")
371363
result.stderr.fnmatch_lines(
372364
["*Directory *wrong_dir* not found. Check your '--rootdir' option.*"]

0 commit comments

Comments
 (0)