summaryrefslogtreecommitdiff
path: root/numpy/compat
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-12-05 19:16:00 -0700
committerCharles Harris <charlesr.harris@gmail.com>2015-12-05 19:16:00 -0700
commit4743f3b4454a736e2bbd8b6f116f7efaef13c406 (patch)
tree5be17121c484f7f3707055bdd7ae087ba07f1d95 /numpy/compat
parent0ba39a97ce6f38b714b8109bd32573a9eacd4c17 (diff)
downloadpython-numpy-4743f3b4454a736e2bbd8b6f116f7efaef13c406.tar.gz
python-numpy-4743f3b4454a736e2bbd8b6f116f7efaef13c406.tar.bz2
python-numpy-4743f3b4454a736e2bbd8b6f116f7efaef13c406.zip
MAINT: Include from __future__ boilerplate in some files missing it.
Some newer *.py files are missing the `from __future__` boilerplate that helps assure Python2 and Python3 compatibility.
Diffstat (limited to 'numpy/compat')
-rw-r--r--numpy/compat/tests/test_compat.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/compat/tests/test_compat.py b/numpy/compat/tests/test_compat.py
index 9822ab374..1ac24401a 100644
--- a/numpy/compat/tests/test_compat.py
+++ b/numpy/compat/tests/test_compat.py
@@ -1,3 +1,5 @@
+from __future__ import division, absolute_import, print_function
+
from os.path import join
from numpy.compat import isfileobj