def test_validate_image_invalid_dimensions(self) -> None:
        """Test validation of an image batch with invalid dimensions."""
        with pytest.raises(ValueError, match="Video batch must have 4 or 5 dimensions, got shape \\(224, 224, 3\\)"):
            self.validator.validate_image(np.zeros((224, 224, 3)))
Test validation of an image batch with invalid dimensions.
tests/unit/data/validators/numpy/test_video.py