mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-05-13 01:18:31 +02:00
chg: [test] decrease relative tolerance.
This commit is contained in:
parent
c25cdc09f7
commit
1033933f85
1 changed files with 2 additions and 1 deletions
|
@ -177,7 +177,8 @@ class TestGenerators(unittest.TestCase):
|
||||||
int(test_file.shape[0]), int(test_file.shape[1])
|
int(test_file.shape[0]), int(test_file.shape[1])
|
||||||
)
|
)
|
||||||
self.assertIsNone(
|
self.assertIsNone(
|
||||||
np.testing.assert_allclose(corners, test_file_reshaped, verbose=True)
|
np.testing.assert_allclose(
|
||||||
|
corners, test_file_reshaped, verbose=True, rtol=1e-02, atol=0)
|
||||||
)
|
)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Add table
Reference in a new issue