diff --git a/tests/attacks/evasion/test_shadow_attack.py b/tests/attacks/evasion/test_shadow_attack.py index d853a8ef2e..a29d829b78 100644 --- a/tests/attacks/evasion/test_shadow_attack.py +++ b/tests/attacks/evasion/test_shadow_attack.py @@ -59,7 +59,7 @@ def test_generate(art_warning, fix_get_mnist_subset, image_dl_estimator_for_atta x_train_mnist_adv = attack.generate(x=x_train_mnist[0:1], y=y_train_mnist[0:1]) - assert np.max(np.abs(x_train_mnist_adv - x_train_mnist[0:1])) == pytest.approx(0.31463563, abs=0.06) + assert np.max(np.abs(x_train_mnist_adv - x_train_mnist[0:1])) == pytest.approx(0.3803413510322571, abs=0.06) except ARTTestException as e: art_warning(e)