mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Merge
This commit is contained in:
commit
3b09cd64e0
4 changed files with 17 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue