Suppress pylint protected-access in test_ecc

This commit is contained in:
Lee Miller 2022-11-15 03:55:09 +02:00
parent df235f6c20
commit c80529eb9e
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -32,6 +32,7 @@ class TestECC(unittest.TestCase):
def test_decode_keys(self): def test_decode_keys(self):
"""Check keys decoding""" """Check keys decoding"""
# pylint: disable=protected-access
curve_secp256k1 = pyelliptic.OpenSSL.get_curve('secp256k1') curve_secp256k1 = pyelliptic.OpenSSL.get_curve('secp256k1')
curve, raw_privkey, _ = pyelliptic.ECC._decode_privkey( curve, raw_privkey, _ = pyelliptic.ECC._decode_privkey(
sample_privkey_bin) sample_privkey_bin)