summaryrefslogtreecommitdiff
path: root/tests/test_autodoc.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_autodoc.py
parent21f0ca8197a2f41e70bc3f3334d6fc88a8a76553 (diff)
downloadsphinx-git-1af3e3ea71f0c0fea63141f20836b6cafbf9ff1c.tar.gz
tests: replace "from util import *" by explicit imports
Diffstat (limited to 'tests/test_autodoc.py')
-rw-r--r--tests/test_autodoc.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_autodoc.py b/tests/test_autodoc.py
index fdc8d5f7f..769827d33 100644
--- a/tests/test_autodoc.py
+++ b/tests/test_autodoc.py
@@ -13,7 +13,7 @@
import sys
from StringIO import StringIO
-from util import *
+from util import TestApp, Struct
from nose.tools import with_setup
from docutils.statemachine import ViewList
@@ -21,6 +21,7 @@ from docutils.statemachine import ViewList
from sphinx.ext.autodoc import AutoDirective, add_documenter, \
ModuleLevelDocumenter, FunctionDocumenter, cut_lines, between, ALL
+app = None
def setup_module():
global app
@@ -36,6 +37,8 @@ def teardown_module():
app.cleanup()
+directive = options = None
+
def setup_test():
global options, directive
global processed_docstrings, processed_signatures, _warnings