code: def test_regression_issue_1220_get_face_chip():
      """
      Memory leak in Python get_face_chip
      https://github.com/davisking/dlib/issues/1220
      """
      face_chip = get_test_face_chip()
      # we expect two references:
      # 1.) the local variable
      # 2.) the temporary passed to getrefcount
      assert sys.getrefcount(face_chip) == 2
  
file_path: dlib/tools/python/test/test_numpy_returns.py
imports: import sys
  import pickle
  import dlib
  import pytest
  import utils
label_desc: Use image node_id 5 for calling a global function with example usage: test_regression_issue_1220_get_face_chip() without return types