Skip to content

Commit 3394973

Browse files
committed
We were relying on an import * for doctests.
(Of course mostly for laziness -- but this now doesn't import the exceptions module which doesn't appear in __all__, which was added for E401 style lints, which...)
1 parent fe9c6b0 commit 3394973

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/conf.py

+1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ def setup(app):
7676

7777
doctest_global_setup = """
7878
from jsonschema import *
79+
from jsonschema import exceptions
7980
import jsonschema.validators
8081
"""
8182

0 commit comments

Comments
 (0)