Skip to content

Commit 3e8cea3

Browse files
committed
Clean up tests
Signed-off-by: Beat Buesser <[email protected]>
1 parent 9aa4378 commit 3e8cea3

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

tests/attacks/evasion/test_auto_conjugate_gradient.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,9 @@ def fix_get_mnist_subset(get_mnist_dataset):
6464
@pytest.mark.parametrize("norm", ["inf", np.inf, 1, 2])
6565
@pytest.mark.skip_framework("keras", "non_dl_frameworks", "mxnet", "kerastf", "tensorflow1", "tensorflow2v1")
6666
def test_generate(art_warning, fix_get_mnist_subset, image_dl_estimator_for_attack, framework, loss_type, norm):
67-
print("test_generate")
6867
try:
6968
classifier = image_dl_estimator_for_attack(AutoConjugateGradient, from_logits=True)
7069

71-
print("framework", framework)
72-
7370
if framework in ["tensorflow1", "tensorflow2v1"] and loss_type == "difference_logits_ratio":
7471
with pytest.raises(ValueError):
7572
_ = AutoConjugateGradient(

tests/attacks/evasion/test_auto_projected_gradient_descent.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,9 @@ def fix_get_mnist_subset(get_mnist_dataset):
4242
@pytest.mark.parametrize("norm", ["inf", np.inf, 1, 2])
4343
@pytest.mark.skip_framework("keras", "non_dl_frameworks", "mxnet", "kerastf", "tensorflow1", "tensorflow2v1")
4444
def test_generate(art_warning, fix_get_mnist_subset, image_dl_estimator_for_attack, framework, loss_type, norm):
45-
print("test_generate")
4645
try:
4746
classifier = image_dl_estimator_for_attack(AutoProjectedGradientDescent, from_logits=True)
4847

49-
print("framework", framework)
50-
5148
if framework in ["tensorflow1", "tensorflow2v1"] and loss_type == "difference_logits_ratio":
5249
with pytest.raises(ValueError):
5350
_ = AutoProjectedGradientDescent(

0 commit comments

Comments
 (0)