summaryrefslogtreecommitdiff
path: root/docutils/test/test_transforms/test_footnotes.py
diff options
context:
space:
mode:
Diffstat (limited to 'docutils/test/test_transforms/test_footnotes.py')
-rwxr-xr-xdocutils/test/test_transforms/test_footnotes.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/docutils/test/test_transforms/test_footnotes.py b/docutils/test/test_transforms/test_footnotes.py
index 5920215df..a7104f541 100755
--- a/docutils/test/test_transforms/test_footnotes.py
+++ b/docutils/test/test_transforms/test_footnotes.py
@@ -9,7 +9,9 @@ Tests for docutils.transforms.references.Footnotes.
"""
from __future__ import absolute_import
-from . import DocutilsTestSupport
+if __name__ == '__main__':
+ import __init__
+from test_transforms import DocutilsTestSupport
from docutils.transforms.references import Footnotes
from docutils.parsers.rst import Parser