summaryrefslogtreecommitdiff
path: root/numpy/tests
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/tests')
-rw-r--r--numpy/tests/test_ctypeslib.py2
-rw-r--r--numpy/tests/test_matlib.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/numpy/tests/test_ctypeslib.py b/numpy/tests/test_ctypeslib.py
index 7bb93dd9b..9b53ed0c6 100644
--- a/numpy/tests/test_ctypeslib.py
+++ b/numpy/tests/test_ctypeslib.py
@@ -1,3 +1,5 @@
+from __future__ import division
+
import sys
import numpy as np
diff --git a/numpy/tests/test_matlib.py b/numpy/tests/test_matlib.py
index 010aa8d84..0ac49fed3 100644
--- a/numpy/tests/test_matlib.py
+++ b/numpy/tests/test_matlib.py
@@ -1,3 +1,5 @@
+from __future__ import division
+
import numpy as np
import numpy.matlib
from numpy.testing import assert_array_equal, assert_, run_module_suite