Fixed mypy issue.

This commit is contained in:
Cédric Bonhomme 2024-01-02 10:06:04 +01:00
parent 220501adbc
commit 5c94a790bc
No known key found for this signature in database
GPG key ID: A1CB94DE57B7A70D
3 changed files with 12 additions and 13 deletions

View file

@ -174,9 +174,8 @@ class TestGenerators(unittest.TestCase):
test_file_reshaped = test_file.reshape(
int(test_file.shape[0]), int(test_file.shape[1])
)
self.assertIsNone(
np.testing.assert_allclose(corners, test_file_reshaped, rtol=1e-0, atol=0)
)
res = np.testing.assert_allclose(corners, test_file_reshaped, rtol=1e-0, atol=0) # type: ignore
self.assertIsNone(res)
@staticmethod
def shi_tomashi_reconfigure(