Skip to content

Commit

Permalink
Ref sphinx-doc#5273: doctest: added a missing type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Antti Kaihola committed Aug 16, 2018
1 parent 5ffc924 commit d52488f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx/ext/doctest.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 92,7 @@ def run(self):
# type: () -> List[nodes.Node]
if 'skipif' in self.options:
condition = self.options['skipif']
context = {}
context = {} # type: Dict[str, Any]
if self.config.doctest_global_setup:
exec(self.config.doctest_global_setup, context)
should_skip = eval(condition, context)
Expand Down

0 comments on commit d52488f

Please sign in to comment.