code: def test_quiver_memory_leak():
      fig, ax = plt.subplots()
  
      Q = draw_quiver(ax)
      ttX = Q.X
      Q.remove()
  
      del Q
  
      assert sys.getrefcount(ttX) == 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 2 for calling a global function with example usage: test_quiver_memory_leak() without return types