This commit is contained in:
Raymond Hettinger 2016-09-03 01:55:39 -07:00
commit 3b09cd64e0
4 changed files with 17 additions and 2 deletions

View file

@ -1015,7 +1015,7 @@ class LongTest(unittest.TestCase):
self.assertIs(type(got), int)
# bad second argument
bad_exponents = ('brian', 2.0, 0j, None)
bad_exponents = ('brian', 2.0, 0j)
for e in bad_exponents:
self.assertRaises(TypeError, round, 3, e)