From a8b1c204d2b836e70d84f8ae9179fba523648059 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Thu, 11 Feb 2021 16:06:18 -0500 Subject: [PATCH] Mark the expected result literal as the correct type, bytes --- src/allmydata/test/test_hashutil.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/allmydata/test/test_hashutil.py b/src/allmydata/test/test_hashutil.py index 6ac73ae60..482e79c0b 100644 --- a/src/allmydata/test/test_hashutil.py +++ b/src/allmydata/test/test_hashutil.py @@ -133,9 +133,9 @@ class HashUtilTests(unittest.TestCase): convergence secret. """ self.assertEqual( - "allmydata_immutable_content_to_key_with_added_secret_v1+" - "16:\x42\x42\x42\x42\x42\x42\x42\x42\x42\x42\x42\x42\x42\x42\x42\x42," - "9:3,10,1024,", + b"allmydata_immutable_content_to_key_with_added_secret_v1+" + b"16:\x42\x42\x42\x42\x42\x42\x42\x42\x42\x42\x42\x42\x42\x42\x42\x42," + b"9:3,10,1024,", hashutil._convergence_hasher_tag( k=3, n=10,