We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47f7d16 commit e19e01bCopy full SHA for e19e01b
future/tests/test_builtins.py
@@ -639,7 +639,7 @@ def __dir__(self):
639
# raise IndexError
640
# except:
641
# self.assertEqual(len(dir(sys.exc_info()[2])), 4)
642
- #
+ #
643
# # test that object has a __dir__()
644
# self.assertEqual(sorted([].__dir__()), dir([]))
645
@@ -1271,9 +1271,9 @@ def test_pow(self):
1271
self.assertAlmostEqual(pow(-2.,2), 4.)
1272
self.assertAlmostEqual(pow(-2.,3), -8.)
1273
1274
- for x in 2, 2.0:
1275
- for y in 10, 10.0:
1276
- for z in 1000, 1000.0:
+ for x in 2, int(2), 2.0:
+ for y in 10, int(10), 10.0:
+ for z in 1000, int(1000), 1000.0:
1277
if isinstance(x, float) or \
1278
isinstance(y, float) or \
1279
isinstance(z, float):
0 commit comments