def test_validate_image_invalid_type(self) -> None:
        """Test validation of a video tensor with invalid type."""
        with pytest.raises(TypeError, match="Video must be a torch.Tensor"):
            self.validator.validate_image(np.random.default_rng().random((10, 3, 224, 224)))
Test validation of a video tensor with invalid type.
tests/unit/data/validators/torch/test_video.py