Skip to content

Commit d0811c1

Browse files
authored
Merge pull request #6502 from blueyed/fix-ci-features
[features] fix CI
2 parents 1667cf3 + 7a62692 commit d0811c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

testing/test_capture.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,6 +1407,8 @@ def test_spam_in_thread():
14071407
printing.wait()
14081408
"""
14091409
)
1410+
# Do not consider plugins like hypothesis, which might output to stderr.
1411+
testdir.monkeypatch.setenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", "1")
14101412
result = testdir.runpytest_subprocess(str(p))
14111413
assert result.ret == 0
14121414
assert result.stderr.str() == ""

0 commit comments

Comments
 (0)