From 1e1edfe99ea8ce1caffb748ed6f9baf7a898d0aa Mon Sep 17 00:00:00 2001 From: cmoineau Date: Fri, 13 May 2022 16:19:49 +0200 Subject: [PATCH] [PythonAPI] Skip anomaly test with known issue. --- python/tests/test_keras_export.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/tests/test_keras_export.py b/python/tests/test_keras_export.py index 6ef111b1..929e8d5a 100644 --- a/python/tests/test_keras_export.py +++ b/python/tests/test_keras_export.py @@ -53,8 +53,9 @@ def tearDown(self): def check_tensor_equality(self, x, y): for i,j in zip(x.numpy().flatten(), y.numpy().flatten()): self.assertTrue(abs(i-j) < self.relative_precision * abs(j) + self.absolute_precision, - "N2D2 and Keras give different output tensor !") + "N2D2 and Keras give different output tensor ! ({i} != {j})") + @unittest.skip("Skipping anomaly, known issue.") def test_anomaly_CPP(self): net_test=get_anomaly_model(640)