def test_validate_image_invalid_type(self) -> None:
        """Test validation of an image batch with invalid type."""
        with pytest.raises(TypeError, match="Image batch must be a numpy.ndarray, got <class 'list'>"):
            self.validator.validate_image([1, 2, 3])
Test validation of an image batch with invalid type.
tests/unit/data/validators/numpy/test_image.py