From 49e6b65f83f7f21b1996c436096055ec70222c7d Mon Sep 17 00:00:00 2001 From: TW Date: Wed, 13 May 2026 23:16:39 +0200 Subject: [PATCH] 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> --- src/borg/testsuite/crypto/crypto_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/borg/testsuite/crypto/crypto_test.py b/src/borg/testsuite/crypto/crypto_test.py index edaa8b9cfb..dc71f77a20 100644 --- a/src/borg/testsuite/crypto/crypto_test.py +++ b/src/borg/testsuite/crypto/crypto_test.py @@ -283,6 +283,7 @@ class TestDeriveKey(BaseTestCase): # Create a simple KeyBase subclass with a non-empty crypt_key class CustomKey(KeyBase): def __init__(self, crypt_key, id_key): + super().__init__(None) self.crypt_key = crypt_key self.id_key = id_key