summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pow.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-07-28 16:39:41 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-07-28 16:39:41 (GMT)
commit02ea12b29196ae002e26061eb0afb96db0cf889b (patch)
tree6ada8bb7e3777cb573814322d1eab627fd1899a2 /Lib/test/test_pow.py
parent3f8ab965f722b3bda679c9271fb8907e2bbcdc64 (diff)
downloadcpython-02ea12b29196ae002e26061eb0afb96db0cf889b.zip
cpython-02ea12b29196ae002e26061eb0afb96db0cf889b.tar.gz
cpython-02ea12b29196ae002e26061eb0afb96db0cf889b.tar.bz2
Syntax cleanup.
Diffstat (limited to 'Lib/test/test_pow.py')
-rw-r--r--Lib/test/test_pow.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_pow.py b/Lib/test/test_pow.py
index 859c373..60bb533 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)