Use covdefaults to handle coveragerc

This commit is contained in:
Anthony Sottile 2020-02-29 14:00:31 -08:00
parent 4a3b10f0ed
commit 67c1beb322
19 changed files with 42 additions and 81 deletions

View file

@ -93,7 +93,7 @@ def test_normexe_does_not_exist_sep():
@pytest.mark.xfail(os.name == 'nt', reason='posix only')
def test_normexe_not_executable(tmpdir): # pragma: windows no cover
def test_normexe_not_executable(tmpdir): # pragma: win32 no cover
tmpdir.join('exe').ensure()
with tmpdir.as_cwd(), pytest.raises(OSError) as excinfo:
parse_shebang.normexe('./exe')