From 02ea12b29196ae002e26061eb0afb96db0cf889b Mon Sep 17 00:00:00 2001 From: Florent Xicluna Date: Wed, 28 Jul 2010 16:39:41 +0000 Subject: Syntax cleanup. --- Lib/test/test_pow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/test/test_pow.py') diff --git a/Lib/test/test_pow.py b/Lib/test/test_pow.py index 859c3737b9..60bb5330eb 100644 --- a/Lib/test/test_pow.py +++ b/Lib/test/test_pow.py @@ -18,14 +18,14 @@ class PowTest(unittest.TestCase): self.assertEquals(pow(2, i), pow2) if i != 30 : pow2 = pow2*2 - for othertype in int, int: + for othertype in (int,): for i in list(range(-10, 0)) + list(range(1, 10)): ii = type(i) for j in range(1, 11): jj = -othertype(j) pow(ii, jj) - for othertype in int, int, float: + for othertype in int, float: for i in range(1, 100): zero = type(0) exp = -othertype(i/10.0) -- cgit v1.2.1