summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_slice.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_slice.py')
-rw-r--r--Lib/test/test_slice.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_slice.py b/Lib/test/test_slice.py
index 8c90c10..854805b 100644
--- a/Lib/test/test_slice.py
+++ b/Lib/test/test_slice.py
@@ -33,6 +33,7 @@ class SliceTest(unittest.TestCase):
class BadCmp(object):
def __eq__(self, other):
raise Exc
+ __hash__ = None # Silence Py3k warning
s1 = slice(BadCmp())
s2 = slice(BadCmp())