diff options
author | Christoph Buelter <christoph.buelter@myshopradio.de> | 2019-12-05 14:13:22 +0100 |
---|---|---|
committer | Christoph Buelter <christoph.buelter@myshopradio.de> | 2019-12-05 14:13:22 +0100 |
commit | ac5929eef35508d267bc4010cb9b4ae0b6de3f74 (patch) | |
tree | 6207141b98d1a8e25c2e7d6021e46ca3178dbdc5 /doc/en/usage.rst | |
parent | e24b6b03886a36461af3381637a33fd8de6bee06 (diff) | |
download | pytest-ac5929eef35508d267bc4010cb9b4ae0b6de3f74.tar.gz |
Update docs about case-insensitive expression matching
Diffstat (limited to 'doc/en/usage.rst')
-rw-r--r-- | doc/en/usage.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/en/usage.rst b/doc/en/usage.rst index 245a67b68..527794823 100644 --- a/doc/en/usage.rst +++ b/doc/en/usage.rst @@ -94,8 +94,8 @@ Pytest supports several ways to run and select tests from the command-line. pytest -k "MyClass and not method" -This will run tests which contain names that match the given *string expression*, which can -include Python operators that use filenames, class names and function names as variables. +This will run tests which contain names that match the given *string expression* (case-insensitive), +which can include Python operators that use filenames, class names and function names as variables. The example above will run ``TestMyClass.test_something`` but not ``TestMyClass.test_method_simple``. .. _nodeids: |