Skip to content

Commit 3a55230

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

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
@@ -199,6 +199,7 @@ def test_ambiguous_layout_nchw():
199199
raise ARTTestException("Ambiguous NCHW layout handling failed") from e
200200

201201

202+
@pytest.mark.framework_agnostic
202203
def test_unsupported_input_shape_raises_error():
203204
try:
204205
x = np.zeros((5, 5), dtype=np.float32) # 2D input (unsupported)

0 commit comments

Comments
 (0)