mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
merge from trunk
This commit is contained in:
parent
2d8dcdcb06
commit
f10a79aad4
40 changed files with 621 additions and 305 deletions
|
@ -249,7 +249,7 @@ class TestTimeDelta(HarmlessMixedComparison, unittest.TestCase):
|
|||
self.assertRaises(TypeError, lambda: a // x)
|
||||
self.assertRaises(TypeError, lambda: x // a)
|
||||
|
||||
# Divison of int by timedelta doesn't make sense.
|
||||
# Division of int by timedelta doesn't make sense.
|
||||
# Division by zero doesn't make sense.
|
||||
for zero in 0, 0:
|
||||
self.assertRaises(TypeError, lambda: zero // a)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue