tests/test-hashutil.py
branchstable
changeset 49366 288de6f5d724
parent 48946 642e31cb55f0
--- a/tests/test-hashutil.py	Thu Jun 16 15:15:03 2022 +0200
+++ b/tests/test-hashutil.py	Thu Jun 16 15:28:54 2022 +0200
@@ -1,6 +1,5 @@
 # Tests to ensure that sha1dc.sha1 is exactly a drop-in for
 # hashlib.sha1 for our needs.
-from __future__ import absolute_import
 
 import hashlib
 import unittest
@@ -13,7 +12,7 @@
     sha1dc = None
 
 
-class hashertestsbase(object):
+class hashertestsbase:
     def test_basic_hash(self):
         h = self.hasher()
         h.update(b'foo')