summaryrefslogtreecommitdiff
path: root/doc/source/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/conf.py')
-rw-r--r--doc/source/conf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 3c2655a..0fff918 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -192,3 +192,7 @@ latex_documents = [
# If false, no module index is generated.
#latex_use_modindex = True
+
+# Python code that is treated like it were put in a testsetup directive for
+# every file that is tested, and for every group.
+doctest_global_setup = "import argparse" \ No newline at end of file