Skip to content

Commit 731c1d3

Browse files
author
Beat Buesser
committed
Update expected test value for Shadow Attack
Signed-off-by: Beat Buesser <[email protected]>
1 parent 47f3c6e commit 731c1d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/attacks/evasion/test_shadow_attack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_generate(art_warning, fix_get_mnist_subset, image_dl_estimator_for_atta
5959

6060
x_train_mnist_adv = attack.generate(x=x_train_mnist[0:1], y=y_train_mnist[0:1])
6161

62-
assert np.max(np.abs(x_train_mnist_adv - x_train_mnist[0:1])) == pytest.approx(0.31463563, abs=0.06)
62+
assert np.max(np.abs(x_train_mnist_adv - x_train_mnist[0:1])) == pytest.approx(0.3803413510322571, abs=0.06)
6363
except ARTTestException as e:
6464
art_warning(e)
6565

0 commit comments

Comments
 (0)