diff --git a/src/pyelliptic/tests/test_ecc.py b/src/pyelliptic/tests/test_ecc.py
index 43c01542..e87d1c21 100644
--- a/src/pyelliptic/tests/test_ecc.py
+++ b/src/pyelliptic/tests/test_ecc.py
@@ -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: