From 0b820cc00f4b8f9a3893d4c217870a7d6ef3ca74 Mon Sep 17 00:00:00 2001 From: James Penn Date: Thu, 29 Apr 2021 13:14:41 +0100 Subject: [PATCH] Fix bug in gallery_tests runner `default_doc_path` is incorrect, docs have been moved out of subdir `docs/iris` -> `docs`. --- lib/iris/tests/runner/_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/iris/tests/runner/_runner.py b/lib/iris/tests/runner/_runner.py index 71b6e5fcc6..3ef961d000 100644 --- a/lib/iris/tests/runner/_runner.py +++ b/lib/iris/tests/runner/_runner.py @@ -117,7 +117,7 @@ def run(self): if self.gallery_tests: import iris.config - default_doc_path = os.path.join(sys.path[0], "docs", "iris") + default_doc_path = os.path.join(sys.path[0], "docs") doc_path = iris.config.get_option( "Resources", "doc_dir", default=default_doc_path )