Skip to content

Commit 1971033

Browse files
authored
Merge pull request #6499 from blueyed/fix-ci
tests: fix test_crash_on_closing_tmpfile_py27
2 parents e1298fa + 4f0eec2 commit 1971033

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
@@ -1367,6 +1367,8 @@ def test_spam_in_thread():
13671367
printing.wait()
13681368
"""
13691369
)
1370+
# Do not consider plugins like hypothesis, which might output to stderr.
1371+
testdir.monkeypatch.setenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", "1")
13701372
result = testdir.runpytest_subprocess(str(p))
13711373
assert result.ret == 0
13721374
assert result.stderr.str() == ""

0 commit comments

Comments
 (0)