From c447cc814c0b4e08e1307e89df66a3bffa45c0c6 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 9 Sep 2019 07:29:49 -0400 Subject: Fix a reference --- doc/contexts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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:: -- cgit v1.2.1