def test_validate_gt_label_invalid_type(self) -> None:
        """Test validation of ground truth labels with invalid type."""
        # Test with a non-sequence, non-array type
        with pytest.raises(TypeError, match="Ground truth label batch must be a numpy.ndarray"):
            self.validator.validate_gt_label(3.14)
Test validation of ground truth labels with invalid type.
tests/unit/data/validators/numpy/test_video.py