code: def test_ragged_list_input(self):
      x_data = [np.array([1, 2, 3]), np.array([1, 2, 3, 4])]
      y_data = [np.array([5, 6, 7]), np.array([4, 2, 9, 10])]
  
      with pytest.raises(ValueError) as err:
          line_block = amp.blocks.Line(y_data)
      assert "Must specify x data explicitly" in str(err)
  
      line_block = amp.blocks.Line(x_data, y_data)
  
      assert_jagged_arrays_equal(line_block.x, np.array(x_data))
      assert_jagged_arrays_equal(line_block.y, np.array(y_data))
  
imports: from matplotlib.testing import setup
  import numpy
  import numpy.testing
  import matplotlib.pyplot
  import matplotlib
  import packaging.version
  import pytest
  import animatplot
  from tests.tools import animation_compare
  from animatplot.blocks import Block, Title
label_desc: Use image node_id 6 for calling the TestLineBlock obj's underlying member method code with example usage: obj.test_ragged_list_input() without return types