code: def test_line_pen_as_brush():
      # Arrange
      im = Image.new("RGB", (W, H))
      draw = ImageDraw2.Draw(im)
      pen = None
      brush = ImageDraw2.Pen("yellow", width=2)
  
      # Act
      # Pass in the pen as the brush parameter
      draw.line(POINTS1, pen, brush)
  
      # Assert
      assert_image_equal_tofile(im, "Tests/images/imagedraw_line.png")
  
imports: import os.path
  from PIL import Image, ImageDraw, ImageDraw2
  from .helper import assert_image_equal, assert_image_equal_tofile, assert_image_similar_tofile, hopper, skip_unless_feature
label_desc: Use image node_id 9 for calling a global function with example usage: test_line_pen_as_brush() without return types