Commit cc18c85
committed
Fix pytest running all tests when selecting a single test from VS Code
Move 'plotpy' from addopts to testpaths in [tool.pytest.ini_options].
The positional argument in addopts was causing pytest to always collect
the entire test suite, ignoring the specific test path passed by VS Code.
testpaths is only used as a fallback when no explicit paths are given.1 parent 090f82a commit cc18c85
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
0 commit comments