mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Remove is None from if statement
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
This commit is contained in:
@ -162,7 +162,7 @@ class BignumOperation(BignumTarget):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def generate_tests(cls) -> Iterator[test_case.TestCase]:
|
def generate_tests(cls) -> Iterator[test_case.TestCase]:
|
||||||
if cls.func is not None:
|
if cls.func:
|
||||||
# Generate tests for the current class
|
# Generate tests for the current class
|
||||||
for l_value, r_value in cls.get_value_pairs():
|
for l_value, r_value in cls.get_value_pairs():
|
||||||
cur_op = cls(l_value, r_value)
|
cur_op = cls(l_value, r_value)
|
||||||
|
Reference in New Issue
Block a user