We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18054a1 commit 819febcCopy full SHA for 819febc
1 file changed
test/test_binary.py
@@ -105,11 +105,11 @@ def test_repr(self):
105
"Binary(%s, 100)" % (repr(b("test")),))
106
107
def test_hash(self):
108
- one = Binary(b"hello world")
109
- two = Binary(b"hello world", 42)
110
- self.assertEqual(hash(Binary(b"hello world")), hash(one))
+ one = Binary(b("hello world"))
+ two = Binary(b("hello world"), 42)
+ self.assertEqual(hash(Binary(b("hello world"))), hash(one))
111
self.assertNotEqual(hash(one), hash(two))
112
- self.assertEqual(hash(Binary(b"hello world", 42)), hash(two))
+ self.assertEqual(hash(Binary(b("hello world"), 42)), hash(two))
113
114
def test_legacy_java_uuid(self):
115
if not should_test_uuid:
0 commit comments