code: def test_quiver_key_memory_leak():
      fig, ax = plt.subplots()
  
      Q = draw_quiver(ax)
  
      qk = ax.quiverkey(
          Q,
          0.5,
          0.92,
          2,
          r"$2 \frac{m}{s}$",
          labelpos="W",
          fontproperties={"weight": "bold"},
      )
      assert sys.getrefcount(qk) == 3
      qk.remove()
      assert sys.getrefcount(qk) == 2
  
imports: import platform
  import sys
  import numpy
  import pytest
  from matplotlib import pyplot
  from matplotlib.testing.decorators import image_comparison
label_desc: Use image node_id 3 for calling a global function with example usage: test_quiver_key_memory_leak() without return types