mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-38839: Fix some unused functions in tests (GH-17189)
This commit is contained in:
parent
54b32c9871
commit
892221bfa0
9 changed files with 12 additions and 19 deletions
|
@ -765,6 +765,7 @@ class BuiltinTest(unittest.TestCase):
|
|||
self.assertEqual(hash('spam'), hash(b'spam'))
|
||||
hash((0,1,2,3))
|
||||
def f(): pass
|
||||
hash(f)
|
||||
self.assertRaises(TypeError, hash, [])
|
||||
self.assertRaises(TypeError, hash, {})
|
||||
# Bug 1536021: Allow hash to return long objects
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue