code: def test_fill_line():
      # This is a regression test
      # https://github.com/luispedro/mahotas/issues/3
      canvas = np.zeros((50, 30))
      poly = [(0, 10), (10, 0), (40, 20), (0, 10)]
      fill_polygon(poly, canvas)
      assert np.all(canvas[10, 1:10])
  
file_path: mahotas/mahotas/tests/test_polygon.py
imports: import numpy
  import mahotas
  import mahotas.polygon
  from mahotas.polygon import fill_polygon, fill_convexhull
  import pytest
label_desc: Use image node_id 7 for calling a global function with example usage: test_fill_line() without return types