Skip to content

Commit aec559f

Browse files
Fix for Missing call to superclass __init__ during object initialization
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent fbf6c76 commit aec559f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/borg/testsuite/crypto/crypto_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ class TestDeriveKey(BaseTestCase):
283283
# Create a simple KeyBase subclass with a non-empty crypt_key
284284
class CustomKey(KeyBase):
285285
def __init__(self, crypt_key, id_key):
286+
super().__init__(None)
286287
self.crypt_key = crypt_key
287288
self.id_key = id_key
288289

0 commit comments

Comments
 (0)