summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-09-09 07:29:49 -0400
committerNed Batchelder <ned@nedbatchelder.com>2019-09-09 07:29:49 -0400
commitc447cc814c0b4e08e1307e89df66a3bffa45c0c6 (patch)
treeae84124ac467bc32ccfb4501b4e41b29a7e85beb
parentd3c36ea874de1cb902fbab9caa30b118d268b6c1 (diff)
downloadpython-coveragepy-git-c447cc814c0b4e08e1307e89df66a3bffa45c0c6.tar.gz
Fix a reference
-rw-r--r--doc/contexts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/contexts.rst b/doc/contexts.rst
index 8f7854f9..d676a9db 100644
--- a/doc/contexts.rst
+++ b/doc/contexts.rst
@@ -56,7 +56,7 @@ There are three ways to enable dynamic contexts:
plugin, or
* another tool (such as a test runner) can call the
- :meth:`Coverage.switch_context` method to set the context explicitly.
+ :meth:`.Coverage.switch_context` method to set the context explicitly.
The ``[run] dynamic_context`` setting has only one option now. Set it to
``test_function`` to start a new dynamic context for every test function::