[python-dtcwt] 385/497: tests/util: import xrange polyfill from six

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jul 21 18:06:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/sid
in repository python-dtcwt.

commit 73bba6af063c72d281479477cf96435059b0594d
Author: Rich Wareham <rjw57 at cam.ac.uk>
Date:   Mon Feb 10 09:23:13 2014 +0000

    tests/util: import xrange polyfill from six
---
 tests/util.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/util.py b/tests/util.py
index 3d75c21..2456fe9 100644
--- a/tests/util.py
+++ b/tests/util.py
@@ -4,6 +4,8 @@ import numpy as np
 from nose import SkipTest
 from dtcwt.opencl.lowlevel import NoCLPresentError
 
+from six.moves import xrange
+
 TOLERANCE = 1e-6
 
 def assert_almost_equal(a, b, tolerance=TOLERANCE):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-dtcwt.git



More information about the debian-science-commits mailing list