We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 671a63e commit 064a12aCopy full SHA for 064a12a
tests/test_future/test_str.py
@@ -363,6 +363,10 @@ def test_eq(self):
363
self.assertFalse(b'ABCD' == s)
364
self.assertFalse(bytes(b'ABCD') == s)
365
366
+ def test_hash(self):
367
+ s = str('ABCD')
368
+ self.assertIsInstance(hash(s),int)
369
+
370
def test_ne(self):
371
s = str('ABCD')
372
self.assertNotEqual('A', s)
0 commit comments