Skip to content

Commit 6bf7f65

Browse files
committed
fix cacheprovider test
1 parent d67d189 commit 6bf7f65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

testing/test_cacheprovider.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ def test_error():
6363
)
6464
result = testdir.runpytest("-rw")
6565
assert result.ret == 1
66-
result.stdout.fnmatch_lines(["*could not create cache path*", "*2 warnings*"])
66+
# warnings from nodeids, lastfailed, and stepwise
67+
result.stdout.fnmatch_lines(["*could not create cache path*", "*3 warnings*"])
6768

6869
def test_config_cache(self, testdir):
6970
testdir.makeconftest(

0 commit comments

Comments
 (0)