Commit 885d9f2
committed
[v1.x] Pass a list to parametrize in test_docs_examples
pytest 9.1.0 deprecates passing a non-Collection iterable (e.g. a generator)
to pytest.mark.parametrize, raising PytestRemovedIn10Warning. With
filterwarnings = ["error"] this fails collection on the highest-resolution
CI lanes. find_examples() returns a generator; materialize it as a list.1 parent 0dca751 commit 885d9f2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments