From 3a8ca1aa3b76e43f37e9ce42d57e6acfd1274c38 Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Tue, 3 Oct 2017 11:49:12 -0400 Subject: [PATCH] RST is confusing --- docs/testing.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/testing.rst b/docs/testing.rst index 78f4ddc18f..866c5ddd47 100644 --- a/docs/testing.rst +++ b/docs/testing.rst @@ -260,7 +260,7 @@ For example, this command runs a single python unit test file. To select tests to run based on their name, provide an expression to the `pytest -k option -` +`__ which performs a substring match on test names. :: @@ -268,7 +268,7 @@ which performs a substring match on test names. pytest common/lib/xmodule/xmodule/tests/test_stringify.py -k test_stringify Alternatively, you can select tests based on their `node ID -` directly, +`__ directly, which is useful when you need to run only one of mutliple tests with the same name in different classes or files.