We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 271bdf6 commit f84fea0Copy full SHA for f84fea0
doc/en/how-to/usage.rst
@@ -35,11 +35,12 @@ Pytest supports several ways to run and select tests from the command-line.
35
36
.. code-block:: bash
37
38
- pytest -k "MyClass and not method"
+ pytest -k 'MyClass and not method'
39
40
This will run tests which contain names that match the given *string expression* (case-insensitive),
41
which can include Python operators that use filenames, class names and function names as variables.
42
The example above will run ``TestMyClass.test_something`` but not ``TestMyClass.test_method_simple``.
43
+Use ``""`` instead of ``''`` in expression when running this on Windows
44
45
.. _nodeids:
46
0 commit comments