diff options
Diffstat (limited to 'tests/test_autodoc.py')
-rw-r--r-- | tests/test_autodoc.py | 5 |
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 |