diff --git a/testing/test_conftest.py b/testing/test_conftest.py index bff68e6d2..82ed00b3b 100644 --- a/testing/test_conftest.py +++ b/testing/test_conftest.py @@ -171,6 +171,7 @@ def test_conftest_confcutdir(testdir): """)) result = testdir.runpytest("-h", "--confcutdir=%s" % x, x) result.stdout.fnmatch_lines(["*--xyz*"]) + assert 'warning: could not load initial' not in result.stdout.str() def test_conftest_existing_resultlog(testdir): x = testdir.mkdir("tests")