Skip to content

Commit a542d98

Browse files
Update tests/attacks/poison/test_one_pixel_shortcut_attack.py
Co-authored-by: Beat Buesser <[email protected]>
1 parent b2fb7d9 commit a542d98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/attacks/poison/test_one_pixel_shortcut_attack.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ def test_unsupported_input_shape_raises_error():
210210
raise ARTTestException("ValueError not raised for unsupported input shape") from e
211211

212212

213+
@pytest.mark.framework_agnostic
213214
def test_one_hot_labels_preserve_format():
214215
try:
215216
# Two 2x2 grayscale images, with one-hot labels for classes 0 and 1

0 commit comments

Comments
 (0)