From 2b5c1ce6f82819469a1ce6fc9b15b189823dc058 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Wed, 1 Mar 2017 20:55:30 -0500 Subject: [PATCH] Import/modernize cleanups in test_kernels --- test/test_kernels.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/test_kernels.py b/test/test_kernels.py index c6d93225..628e2893 100644 --- a/test/test_kernels.py +++ b/test/test_kernels.py @@ -1,7 +1,4 @@ -from __future__ import division -from __future__ import absolute_import -from __future__ import print_function -from six.moves import range +from __future__ import division, absolute_import, print_function __copyright__ = "Copyright (C) 2012 Andreas Kloeckner" @@ -25,6 +22,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ +from six.moves import range + import numpy as np import numpy.linalg as la import sys -- GitLab