Skip to content

Commit 7c0d1ca

Browse files
authored
Merge pull request #6790 from TWood67/master
Updated Dynamic Scopes Documentation
2 parents 2be06ba + b26e60c commit 7c0d1ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/en/fixture.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ containers for different environments. See the example below.
326326
.. code-block:: python
327327
328328
def determine_scope(fixture_name, config):
329-
if config.getoption("--keep-containers"):
329+
if config.getoption("--keep-containers", None):
330330
return "session"
331331
return "function"
332332

0 commit comments

Comments
 (0)