Skip to content

Commit f66d839

Browse files
committed
Add test for #417.
1 parent 0f18bf9 commit f66d839

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_pytest_cov.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2107,3 +2107,9 @@ def test_contexts_not_supported(testdir):
21072107
'*argument --cov-context: Contexts are only supported with coverage.py >= 5.x',
21082108
])
21092109
assert result.ret != 0
2110+
2111+
2112+
def test_issue_417(testdir):
2113+
# https://github.com/pytest-dev/pytest-cov/issues/417
2114+
whatever = testdir.maketxtfile(whatever="")
2115+
testdir.inline_genitems(whatever)

0 commit comments

Comments
 (0)