commit | 892221bfa04a41cf581f988ba19dc263f557e157 | [log] [tgz] |
---|---|---|
author | Adam Johnson <me@adamj.eu> | Tue Nov 19 19:45:20 2019 +0000 |
committer | Brett Cannon <54418+brettcannon@users.noreply.github.com> | Tue Nov 19 11:45:20 2019 -0800 |
tree | 3961cf2084befe960fd1171381564886cb4a913c | |
parent | 54b32c987146123f2237f0e21b1d02b1c1ebdf6f [diff] [blame] |
bpo-38839: Fix some unused functions in tests (GH-17189)
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py index abccf32..6a88454 100644 --- a/Lib/test/test_builtin.py +++ b/Lib/test/test_builtin.py
@@ -765,6 +765,7 @@ 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