Remove is None from if statement
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
This commit is contained in:
parent
c442f6a3d6
commit
265e051d06
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ class BignumOperation(BignumTarget):
|
|||
|
||||
@classmethod
|
||||
def generate_tests(cls) -> Iterator[test_case.TestCase]:
|
||||
if cls.func is not None:
|
||||
if cls.func:
|
||||
# Generate tests for the current class
|
||||
for l_value, r_value in cls.get_value_pairs():
|
||||
cur_op = cls(l_value, r_value)
|
||||
|
|
Loading…
Reference in a new issue