Syntax cleanup.

This commit is contained in:
Florent Xicluna 2010-07-28 16:39:41 +00:00
parent 3f8ab965f7
commit 02ea12b291
7 changed files with 9 additions and 11 deletions

View file

@ -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)