code: def test_non_destructed_holders():
      """Issue #478: unique ptrs constructed and freed without destruction"""
      from pybind11_tests import SpecialHolderObj
  
      a = SpecialHolderObj(123)
      b = a.child()
  
      assert a.val == 123
      assert b.val == 124
  
      cstats = SpecialHolderObj.holder_cstats()
      assert cstats.alive() == 1
      del b
      assert cstats.alive() == 1
      del a
      assert cstats.alive() == 0
  
file_path: turicreate/src/external/coremltools_wrap/coremltools/deps/pybind11/tests/test_issues.py
imports: import pytest
  from pybind11_tests import ConstructorStats
label_desc: Use image node_id 15 for calling a global function with example usage: test_non_destructed_holders() without return types