Skip to content

Commit 179b211

Browse files
committed
2to3: Add from __future__ import ... to new files.
The new files that came in when doc/sphinxext/numpydoc was restructured as a package with test stubs did not have `from __future__ import ...`. This fixes that omission.
1 parent ae46bd0 commit 179b211

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

numpydoc/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
from __future__ import division, absolute_import
2+
13
from .numpydoc import setup

numpydoc/tests/test_linkcode.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import division, absolute_import
2+
13
import numpydoc.linkcode
24

35
# No tests at the moment...

numpydoc/tests/test_phantom_import.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import division, absolute_import
2+
13
import numpydoc.phantom_import
24

35
# No tests at the moment...

numpydoc/tests/test_plot_directive.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import division, absolute_import
2+
13
import numpydoc.plot_directive
24

35
# No tests at the moment...

numpydoc/tests/test_traitsdoc.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import division, absolute_import
2+
13
import numpydoc.traitsdoc
24

35
# No tests at the moment...

0 commit comments

Comments
 (0)