Skip to content

Commit

Permalink
Don't pass -k to py.test when doing make test/test_foo.py
Browse files Browse the repository at this point in the history
As py.test then complains about "Wrong expression passed to '-k'"
  • Loading branch information
erijo committed Dec 30, 2020
1 parent 32cc51c commit 8d15eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -83,7 +83,7 @@ usage:
# Make it possible to run make specifying a py.test test file
.PHONY: $(PYTESTS)
$(PYTESTS):
@$(MAKE) test testargs="-k $@ $(testargs)"
@$(MAKE) test testargs="$@ $(testargs)"
%.py:
@$(MAKE) test testargs="-k $@ $(testargs)"

0 comments on commit 8d15eb9

Please sign in to comment.