code: def test_dtype_refcount_leak():
      from sys import getrefcount
  
      dtype = np.dtype(np.float_)
      a = np.array([1], dtype=dtype)
      before = getrefcount(dtype)
      m.ndim(a)
      after = getrefcount(dtype)
      assert after == before
  
imports: import pytest
  import env
  from pybind11_tests import numpy_array
label_desc: Use image node_id 34 for calling a global function with example usage: test_dtype_refcount_leak() without return types