summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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::