diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-07-13 11:14:44 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-07-13 11:14:44 +0900 |
commit | 1d2d295a93db73f9648f016ee7fc0152efdaa9a7 (patch) | |
tree | 17e0aef03ce5108b0145b419d7b7ac495d43131f /sphinx/ext/doctest.py | |
parent | 5d89c30dab810117421b6262362b1b45432c9f8e (diff) | |
parent | 68973e803a4a79e54918e9bcbbfae8c535576c70 (diff) | |
download | sphinx-git-1d2d295a93db73f9648f016ee7fc0152efdaa9a7.tar.gz |
Merge branch '2.1.3' into 2.0
Diffstat (limited to 'sphinx/ext/doctest.py')
-rw-r--r-- | sphinx/ext/doctest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/doctest.py b/sphinx/ext/doctest.py index 68df253d5..5e4d6681a 100644 --- a/sphinx/ext/doctest.py +++ b/sphinx/ext/doctest.py @@ -285,7 +285,7 @@ class DocTestBuilder(Builder): # for doctest examples but unusable for multi-statement code such # as setup code -- to be able to use doctest error reporting with # that code nevertheless, we monkey-patch the "compile" it uses. - doctest.compile = self.compile # type: ignore + doctest.compile = self.compile sys.path[0:0] = self.config.doctest_path |