Code quality fixes

This commit is contained in:
Peter Šurda 2024-02-20 08:47:07 +08:00
parent 8e95279906
commit b3c5900eb3
Signed by: PeterSurda
GPG Key ID: 3E47497CF67ABB95

View File

@ -33,7 +33,9 @@ class TestECC(unittest.TestCase):
def test_short_keys(self):
"""Check formatting of the keys with leading zeroes"""
# pylint: disable=protected-access
def sample_key(_):
"""Fake ECC keypair"""
return os.urandom(32), os.urandom(31), os.urandom(30)
try: