Skip to content

Commit b10d80b

Browse files
committed
update test_bad_input match text
1 parent 7ed7f21 commit b10d80b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_encoders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ def test_bad_input_parameterized(self, tmp_path, method):
588588
getattr(encoder, method)(**valid_params)
589589

590590
with pytest.raises(
591-
ValueError, match=r"Expected 3D or 4D frames, got frames.shape = torch.Size"
591+
ValueError, match=r"Expected 4D frames, got frames.shape = torch.Size"
592592
):
593593
encoder = VideoEncoder(
594594
frames=torch.zeros(10),

0 commit comments

Comments
 (0)