Merge pull request #6502 from blueyed/fix-ci-features

[features] fix CI
This commit is contained in:
Daniel Hahler 2020-01-18 15:12:13 +01:00 committed by GitHub
commit d0811c1f3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1407,6 +1407,8 @@ def test_crash_on_closing_tmpfile_py27(testdir):
printing.wait()
"""
)
# Do not consider plugins like hypothesis, which might output to stderr.
testdir.monkeypatch.setenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", "1")
result = testdir.runpytest_subprocess(str(p))
assert result.ret == 0
assert result.stderr.str() == ""