mirror of
https://github.com/python/cpython.git
synced 2026-02-05 09:25:35 +00:00
Fix small error in r79502
This commit is contained in:
parent
6032c25063
commit
8f66efe253
1 changed files with 4 additions and 4 deletions
|
|
@ -52,10 +52,10 @@ def test_float(self):
|
|||
self.assertIsNot(float(True), True)
|
||||
|
||||
def test_long(self):
|
||||
self.assertEqual(int(False), 0L)
|
||||
self.assertIsNot(int(False), False)
|
||||
self.assertEqual(int(True), 1L)
|
||||
self.assertIsNot(int(True), True)
|
||||
self.assertEqual(long(False), 0L)
|
||||
self.assertIsNot(long(False), False)
|
||||
self.assertEqual(long(True), 1L)
|
||||
self.assertIsNot(long(True), True)
|
||||
|
||||
def test_math(self):
|
||||
self.assertEqual(+False, 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue