Skip to content

Commit

Permalink
Add test for #417.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc committed Jul 12, 2020
1 parent 0f18bf9 commit f66d839
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_pytest_cov.py
Original file line number Diff line number Diff line change
Expand Up @@ -2107,3 +2107,9 @@ def test_contexts_not_supported(testdir):
'*argument --cov-context: Contexts are only supported with coverage.py >= 5.x',
])
assert result.ret != 0


def test_issue_417(testdir):
# https://github.com/pytest-dev/pytest-cov/issues/417
whatever = testdir.maketxtfile(whatever="")
testdir.inline_genitems(whatever)

0 comments on commit f66d839

Please sign in to comment.