From 5d589558c585686e051fc34df52803873e560907 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 28 Apr 2019 15:48:11 -0400 Subject: Docs for new dynamic context techniques --- coverage/control.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'coverage/control.py') diff --git a/coverage/control.py b/coverage/control.py index ace3d8bf..76467257 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -487,7 +487,9 @@ class Coverage(object): """Switch to a new dynamic context. `new_context` is a string to use as the context label - for collected data. + for collected data. If a :ref:`static context ` is in + use, the static and dynamic context labels will be joined together with + a pipe character. Coverage collection must be started already. -- cgit v1.2.1