From 7430e11aa5d7effb683f612051317f57bd52c42b Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Fri, 24 May 2013 17:47:24 +0000 Subject: [PATCH] [Test] Fixed regression in Python 2.6 support Support for the implcit handling of positional arguments with "{}" isn't available until Python 2.7. --- test/python/testConvert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/python/testConvert.py b/test/python/testConvert.py index c1ba466d1..528e2ce67 100644 --- a/test/python/testConvert.py +++ b/test/python/testConvert.py @@ -60,7 +60,7 @@ class chemkinConverterTest(utilities.CanteraTest): gas_kf = gas.fwdRateConstants() gas_kr = gas.revRateConstants() for i in range(gas.nReactions()): - message = ' for reaction {} at T = {}, P = {}'.format(i, T, P) + message = ' for reaction {0} at T = {1}, P = {2}'.format(i, T, P) self.assertNear(ref_kf[i], gas_kf[i], rtol=tol, msg='kf '+message) self.assertNear(ref_kr[i], gas_kr[i], rtol=tol, msg='kr '+message)