Skip to content

Commit

Permalink
Merge pull request #4944 from henrykironde/k-EXPRESSION
Browse files Browse the repository at this point in the history
Add example for k flag
  • Loading branch information
nicoddemus committed Mar 21, 2019
2 parents c9628c5 + 1e3d5a0 commit b3319a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/_pytest/mark/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def pytest_addoption(parser):
"other' matches all test functions and classes whose name "
"contains 'test_method' or 'test_other', while -k 'not test_method' "
"matches those that don't contain 'test_method' in their names. "
"-k 'not test_method and not test_other' will eliminate the matches. "
"Additionally keywords are matched to classes and functions "
"containing extra names in their 'extra_keyword_matches' set, "
"as well as functions which have names assigned directly to them.",
Expand Down

0 comments on commit b3319a6

Please sign in to comment.