We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84df574 commit 4649bfbCopy full SHA for 4649bfb
tests/unit/scripts/test_check_coverage.py
@@ -98,7 +98,12 @@ def test_module():
98
# Check if coverage plugin is available
99
res = testdir.runpytest('--version', '--version')
100
assert res.ret == 0
101
+
102
output = res.stderr.str()
103
+ if not output:
104
+ # pytest >= 7.0: https://github.com/pytest-dev/pytest/pull/8247
105
+ output = res.stdout.str()
106
107
assert 'This is pytest version' in output
108
if 'pytest-cov' not in output:
109
pytest.skip("cov plugin not available")
0 commit comments