summaryrefslogtreecommitdiff
path: root/tests/test_versioning.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-04-01 11:39:32 +0200
committerGeorg Brandl <georg@python.org>2013-04-01 11:39:32 +0200
commit1af3e3ea71f0c0fea63141f20836b6cafbf9ff1c (patch)
treeb3fd18795328347c142bb1adaa56ee00b0690e61 /tests/test_versioning.py
parent21f0ca8197a2f41e70bc3f3334d6fc88a8a76553 (diff)
downloadsphinx-git-1af3e3ea71f0c0fea63141f20836b6cafbf9ff1c.tar.gz
tests: replace "from util import *" by explicit imports
Diffstat (limited to 'tests/test_versioning.py')
-rw-r--r--tests/test_versioning.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/test_versioning.py b/tests/test_versioning.py
index 08238f4a1..6469a33cc 100644
--- a/tests/test_versioning.py
+++ b/tests/test_versioning.py
@@ -8,17 +8,20 @@
:copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
-import pickle
-from util import *
+import pickle
-from docutils.statemachine import ViewList
from docutils.parsers.rst.directives.html import MetaBody
from sphinx import addnodes
from sphinx.versioning import add_uids, merge_doctrees, get_ratio
from sphinx.util.pycompat import all
+from util import test_root, TestApp
+
+
+app = original = original_uids = None
+
def setup_module():
global app, original, original_uids
app = TestApp()