Skip to content

Commit

Permalink
Do not attempt to guess when the user is specifying tests
Browse files Browse the repository at this point in the history
Those always need to use the `-k` flag. We cannot avoid setting
`--pyargs`, otherwise src/ package layouts won't work.

Closes scientific-python#204
  • Loading branch information
stefanv committed May 29, 2024
1 parent 504c30b commit 387172a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spin/cmds/meson.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def test(
)
raise SystemExit(1)

if (not pytest_args) and (not tests):
if not tests:
tests = package

site_path = _set_pythonpath()
Expand Down

0 comments on commit 387172a

Please sign in to comment.