Skip to content

Commit 050689d

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

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
@@ -230,6 +230,7 @@ def test_one_hot_labels_preserve_format():
230230
raise ARTTestException("One-hot label handling failed") from e
231231

232232

233+
@pytest.mark.framework_agnostic
233234
def test_class_skipping_when_no_samples():
234235
try:
235236
# Small dataset: 1 image 2x2, class 0

0 commit comments

Comments
 (0)