code: def test_another_sparktext():
      """Test that same data produces same sparktext"""
      chart = Line()
      chart.add("_", [0, 30, 55, 80, 33, 150])
      assert chart.render_sparktext() == "▁▂▃▄▂█"
      assert chart.render_sparktext() == chart.render_sparktext()
      chart2 = Bar()
      chart2.add("_", [0, 30, 55, 80, 33, 150])
      assert chart2.render_sparktext() == chart.render_sparktext()
  
file_path: pygal/pygal/test/test_sparktext.py
imports: from pygal import Bar, Line
label_desc: Use image node_id 4 for calling a global function with example usage: test_another_sparktext() without return types