mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-05-12 17:18:30 +02:00
chg: [test] trying assert_allclose instead of assert_array_equal.
This commit is contained in:
parent
a1213a9163
commit
c25cdc09f7
1 changed files with 3 additions and 1 deletions
|
@ -176,7 +176,9 @@ class TestGenerators(unittest.TestCase):
|
||||||
test_file_reshaped = test_file.reshape(
|
test_file_reshaped = test_file.reshape(
|
||||||
int(test_file.shape[0]), int(test_file.shape[1])
|
int(test_file.shape[0]), int(test_file.shape[1])
|
||||||
)
|
)
|
||||||
self.assertIsNone(np.testing.assert_array_equal(corners, test_file_reshaped))
|
self.assertIsNone(
|
||||||
|
np.testing.assert_allclose(corners, test_file_reshaped, verbose=True)
|
||||||
|
)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def shi_tomashi_reconfigure(
|
def shi_tomashi_reconfigure(
|
||||||
|
|
Loading…
Add table
Reference in a new issue