summaryrefslogtreecommitdiff
path: root/numpy/matrixlib/tests/test_numeric.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/matrixlib/tests/test_numeric.py')
-rw-r--r--numpy/matrixlib/tests/test_numeric.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/numpy/matrixlib/tests/test_numeric.py b/numpy/matrixlib/tests/test_numeric.py
index 95e1c8001..a772bb388 100644
--- a/numpy/matrixlib/tests/test_numeric.py
+++ b/numpy/matrixlib/tests/test_numeric.py
@@ -1,9 +1,7 @@
-from __future__ import division, absolute_import, print_function
-
import numpy as np
from numpy.testing import assert_equal
-class TestDot(object):
+class TestDot:
def test_matscalar(self):
b1 = np.matrix(np.ones((3, 3), dtype=complex))
assert_equal(b1*1.0, b1)