code: def test_get_packed_offsets_equal_total_none_sep_none():
      with pytest.raises(ValueError):
          _get_packed_offsets(
              [1, 1, 1], total=None, sep=None, mode="equal"
          )
  
imports: from collections import namedtuple
  import io
  import numpy
  from numpy.testing import assert_allclose
  import pytest
  from matplotlib.testing.decorators import check_figures_equal, image_comparison
  import matplotlib.pyplot
  import matplotlib.patches
  import matplotlib.lines
  from matplotlib.backend_bases import MouseButton, MouseEvent
  from matplotlib.offsetbox import AnchoredOffsetbox, AnnotationBbox, AnchoredText, DrawingArea, HPacker, OffsetBox, OffsetImage, PaddedBox, TextArea, VPacker, _get_packed_offsets
label_desc: Use image node_id 9 for calling a global function with example usage: test_get_packed_offsets_equal_total_none_sep_none() without return types