diff options
author | Georg Brandl <georg@python.org> | 2013-04-01 11:39:32 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-04-01 11:39:32 +0200 |
commit | 1af3e3ea71f0c0fea63141f20836b6cafbf9ff1c (patch) | |
tree | b3fd18795328347c142bb1adaa56ee00b0690e61 /tests/test_websupport.py | |
parent | 21f0ca8197a2f41e70bc3f3334d6fc88a8a76553 (diff) | |
download | sphinx-git-1af3e3ea71f0c0fea63141f20836b6cafbf9ff1c.tar.gz |
tests: replace "from util import *" by explicit imports
Diffstat (limited to 'tests/test_websupport.py')
-rw-r--r-- | tests/test_websupport.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_websupport.py b/tests/test_websupport.py index ff9fb1ecb..611a131ac 100644 --- a/tests/test_websupport.py +++ b/tests/test_websupport.py @@ -19,7 +19,8 @@ except ImportError: wraps = lambda f: (lambda w: w) from sphinx.websupport import WebSupport -from sphinx.websupport.errors import * +from sphinx.websupport.errors import DocumentNotFoundError, \ + CommentNotAllowedError, UserNotAuthorizedError from sphinx.websupport.storage import StorageBackend from sphinx.websupport.storage.differ import CombinedHtmlDiff try: @@ -30,7 +31,7 @@ try: except ImportError: sqlalchemy_missing = True -from util import * +from util import test_root, raises, skip_if default_settings = {'builddir': os.path.join(test_root, 'websupport'), |