code: def test_path_collection():
      fig, ax = plt.subplots()
      ax.scatter(range(3), range(3))
  
      _assert_output_equal(
          fake_renderer_output(fig, FakeRenderer),
          """
                           opening figure
                           opening axes
                           draw path with 25 vertices
                           draw path with 25 vertices
                           draw path with 25 vertices
                           closing axes
                           closing figure
                           """,
      )
  
      _assert_output_equal(
          fake_renderer_output(fig, FullFakeRenderer),
          """
                           opening figure
                           opening axes
                           draw path collection with 3 offsets
                           closing axes
                           closing figure
                           """,
      )
  
imports: import matplotlib
  import numpy
  import pytest
  from numpy.testing import assert_warns
  from packaging.version import Version
  from ..exporter import Exporter
  from ..renderers import FakeRenderer, FullFakeRenderer
  from .None import plt
label_desc: Use image node_id 5 for calling a global function with example usage: test_path_collection() without return types