From 4918d298aa3784a860d639a05dbdb4f7402e3e23 Mon Sep 17 00:00:00 2001 From: arghdos Date: Fri, 9 Dec 2016 16:11:49 -0500 Subject: [PATCH] more python2.6 compat --- test/test_loopy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_loopy.py b/test/test_loopy.py index 8c46e52d7..c43e06a8c 100644 --- a/test/test_loopy.py +++ b/test/test_loopy.py @@ -1960,8 +1960,8 @@ def test_integer_reduction(ctx_factory): for reduction, function in reductions: kstr = (("out" if 'arg' not in reduction - else "out[0], out[1]") + ' = {}(k, var[k])'.format(reduction)) - knl = lp.make_kernel('{[k]: 0<=k