From 147bc7f42cc2300dba709de0dd47e1738704d893 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Tue, 8 May 2012 16:44:39 -0400
Subject: [PATCH] Fix old-style print in test suite. (pointed out by Tomasz)

---
 test/test_clmath.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_clmath.py b/test/test_clmath.py
index 72a6695a..ebb0d031 100644
--- a/test/test_clmath.py
+++ b/test/test_clmath.py
@@ -213,7 +213,7 @@ def test_bessel_j(ctx_factory):
         hellskitchen_result = np.empty((len(a), nterms), dtype=np.complex128)
         for i, a_i in enumerate(a):
             if i % 10000 == 0:
-                print "%.1f %%" % (100 * i/len(a))
+                print("%.1f %%" % (100 * i/len(a)))
             ier, fjs, _, _ = jfuns2d(nterms, a_i, 1, 0, 10000)
             hellskitchen_result[i] = fjs[:nterms]
         assert ier == 0
-- 
GitLab