Author: bugman Date: Fri Sep 28 11:09:41 2012 New Revision: 17585 URL: http://svn.gna.org/viewcvs/relax?rev=17585&view=rev Log: Python 3 preparations - the unit tests are now fully Python 2 and 3 compatible. The command used was: 2to3 -w -f except -f import -f imports -f long -f numliterals -f xrange . Modified: trunk/test_suite/unit_tests/_maths_fns/test_kronecker_product.py Modified: trunk/test_suite/unit_tests/_maths_fns/test_kronecker_product.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/_maths_fns/test_kronecker_product.py?rev=17585&r1=17584&r2=17585&view=diff ============================================================================== --- trunk/test_suite/unit_tests/_maths_fns/test_kronecker_product.py (original) +++ trunk/test_suite/unit_tests/_maths_fns/test_kronecker_product.py Fri Sep 28 11:09:41 2012 @@ -91,7 +91,7 @@ daegT = [] # The string indices. - indices = range(4) + indices = list(range(4)) temp = indices[index1-1] indices[index1-1] = indices[index2-1] indices[index2-1] = temp