revert 63425 over Guido's Febuary message about this, that I missed

This commit is contained in:
Benjamin Peterson 2008-05-17 20:09:42 +00:00
parent d7943cb71d
commit c6d64ec83f
3 changed files with 15 additions and 45 deletions

View file

@ -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)