From 3a2f47fd8914422c168348686ce8e3fbc253a1f0 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Sun, 18 Aug 2013 13:19:05 -0500 Subject: [PATCH] Add future imports for with statement use in tests --- test/test_algorithm.py | 2 ++ test/test_array.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test_algorithm.py b/test/test_algorithm.py index 7f0f9f4c..06a92580 100644 --- a/test/test_algorithm.py +++ b/test/test_algorithm.py @@ -1,5 +1,7 @@ #! /usr/bin/env python +from __future__ import division, with_statement + __copyright__ = "Copyright (C) 2013 Andreas Kloeckner" __license__ = """ diff --git a/test/test_array.py b/test/test_array.py index b70deb50..49c9d44b 100644 --- a/test/test_array.py +++ b/test/test_array.py @@ -1,5 +1,5 @@ #! /usr/bin/env python -from __future__ import division +from __future__ import division, with_statement __copyright__ = "Copyright (C) 2009 Andreas Kloeckner" -- GitLab