mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-09 21:44:28 +00:00
Fix pylint issues
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
parent
c83f792c18
commit
aec3eea064
@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
from typing import List
|
from typing import List
|
||||||
|
|
||||||
from . import test_case
|
|
||||||
from . import test_data_generation
|
from . import test_data_generation
|
||||||
from . import ecp_common
|
from . import ecp_common
|
||||||
|
|
||||||
@ -36,13 +35,13 @@ class EcpQuasiReduction(ecp_common.EcpOperationCommon,
|
|||||||
|
|
||||||
# Extend the default values with n < x < 2n
|
# Extend the default values with n < x < 2n
|
||||||
input_values = ecp_common.EcpOperationCommon.input_values + [
|
input_values = ecp_common.EcpOperationCommon.input_values + [
|
||||||
"73",
|
"73",
|
||||||
"ebeddd7b4fefae8755bbfb9c181a73347096b3ec70d1a021",
|
"ebeddd7b4fefae8755bbfb9c181a73347096b3ec70d1a021",
|
||||||
("1f4e1d074d0b50e8d8818f9a9e5df9959f902bb955fd24fd3d791175226ad8c1"
|
("1f4e1d074d0b50e8d8818f9a9e5df9959f902bb955fd24fd3d791175226ad8c1"
|
||||||
"fcb6d59fa41a3dcb25412009e5e356eb65b50ca67782285290420b45b32f0d63"
|
"fcb6d59fa41a3dcb25412009e5e356eb65b50ca67782285290420b45b32f0d63"
|
||||||
"7c9ee549a52ad8d631ba4945435c9aec77227ec59faff878b71b920a3d631929"
|
"7c9ee549a52ad8d631ba4945435c9aec77227ec59faff878b71b920a3d631929"
|
||||||
"d636c9a409d6ffdcd95e2568e128596811fb9ade15e69f6efd509381ebbf3599")
|
"d636c9a409d6ffdcd95e2568e128596811fb9ade15e69f6efd509381ebbf3599")
|
||||||
] # type: List[str]
|
] # type: List[str]
|
||||||
|
|
||||||
def result(self) -> List[str]:
|
def result(self) -> List[str]:
|
||||||
result = self.int_a % self.int_n
|
result = self.int_a % self.int_n
|
||||||
|
@ -14,10 +14,8 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from . import test_case
|
|
||||||
from . import test_data_generation
|
|
||||||
from . import bignum_common
|
from . import bignum_common
|
||||||
|
|
||||||
class EcpOperationCommon(bignum_common.ModOperationCommon):
|
class EcpOperationCommon(bignum_common.ModOperationCommon):
|
||||||
"""Target for ecp test case generation."""
|
"""Target for ecp test case generation."""
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user