def test_validate_gt_label_invalid_dimensions(self) -> None:
        """Test validation of ground truth labels with invalid dimensions."""
        with pytest.raises(ValueError, match="Ground truth label batch must be 1-dimensional, got shape \\(2, 2\\)"):
            self.validator.validate_gt_label(np.array([[0, 1], [1, 0]]))
Test validation of ground truth labels with invalid dimensions.
tests/unit/data/validators/numpy/test_video.py