Skip to content

Commit 54b9938

Browse files
blueyednicoddemus
andauthored
Update testing/test_cacheprovider.py [ci skip]
Co-Authored-By: Bruno Oliveira <[email protected]>
1 parent ac20c93 commit 54b9938

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

testing/test_cacheprovider.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,8 @@ def test_2(): pass
682682
result = testdir.runpytest("--lf", "--lfnf", "all")
683683
result.stdout.fnmatch_lines(["*2 passed*"])
684684

685+
# ensure the list passed to pytest_deselected is a copy,
686+
# and not a reference which is cleared right after
685687
testdir.makeconftest(
686688
"""
687689
deselected = []

0 commit comments

Comments
 (0)