def test_validate_image_invalid_channels(self) -> None:
        """Test validation of an image batch with invalid number of channels."""
        with pytest.raises(ValueError, match="Video batch must have 1 or 3 channels, got 2"):
            self.validator.validate_image(np.zeros((2, 10, 224, 224, 2)))
Test validation of an image batch with invalid number of channels.
tests/unit/data/validators/numpy/test_video.py