From b26e60c2daf65beb33f2390197a5646df9216985 Mon Sep 17 00:00:00 2001 From: TWood67 Date: Fri, 21 Feb 2020 11:45:24 -0600 Subject: [PATCH] updated documentation added a default value so a runtime exception does not occur --- doc/en/fixture.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/en/fixture.rst b/doc/en/fixture.rst index be071302a..a9352a19f 100644 --- a/doc/en/fixture.rst +++ b/doc/en/fixture.rst @@ -326,7 +326,7 @@ containers for different environments. See the example below. .. code-block:: python def determine_scope(fixture_name, config): - if config.getoption("--keep-containers"): + if config.getoption("--keep-containers", None): return "session" return "function"