mirror of
https://github.com/python/cpython.git
synced 2025-07-28 21:55:21 +00:00
revert 63425 over Guido's Febuary message about this, that I missed
This commit is contained in:
parent
d7943cb71d
commit
c6d64ec83f
3 changed files with 15 additions and 45 deletions
|
@ -632,10 +632,6 @@ class BuiltinTest(unittest.TestCase):
|
|||
self.assertEqual(hex(-16L), '-0x10L')
|
||||
self.assertRaises(TypeError, hex, {})
|
||||
|
||||
class Spam(object):
|
||||
def __index__(self): return 23
|
||||
self.assertEqual(hex(Spam()), "0x17")
|
||||
|
||||
def test_id(self):
|
||||
id(None)
|
||||
id(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue