Pacify pylint
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/tests/scripts/generate_bignum_tests.py b/tests/scripts/generate_bignum_tests.py
index 2cdd07d..c76294c 100755
--- a/tests/scripts/generate_bignum_tests.py
+++ b/tests/scripts/generate_bignum_tests.py
@@ -55,7 +55,6 @@
# limitations under the License.
import sys
-import typing
from abc import ABCMeta, abstractmethod
from typing import Iterator, List, Tuple, TypeVar
@@ -71,7 +70,7 @@
This is a superset of what is accepted by mbedtls_test_read_mpi_core().
"""
- if val == '' or val == '-':
+ if val in ['', '-']:
return 0
return int(val, 16)
@@ -121,6 +120,7 @@
return [quote_str(self.arg_a), quote_str(self.arg_b), self.result()]
def description_suffix(self) -> str:
+ #pylint: disable=no-self-use # derived classes need self
"""Text to add at the end of the test case description."""
return ""