Skip to content

Commit c6478ce

Browse files
author
Zoltan Kozma
committed
rw flag does not work either
1 parent e78d309 commit c6478ce

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test_pytest_cov.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,9 +427,10 @@ def test_no_cov(testdir):
427427
'--cov=%s' % script.dirpath(),
428428
'--cov-report=term-missing',
429429
'--no-cov',
430+
'-rw',
430431
script)
431432

432-
assert 'WCOV-U1 None Coverage disabled via --no-cov switch!' in result.stderr.str()
433+
assert 'WCOV-U1 None Coverage disabled via --no-cov switch!' in result.stdout.str()
433434
assert result.ret == 0
434435

435436

0 commit comments

Comments
 (0)