pybind11/tests/test_class_sh_disowning_mi.py

14 lines
219 B
Python
Raw Normal View History

from __future__ import annotations
import env # noqa: F401
from pybind11_tests import class_sh_disowning_mi as m
2024-07-10 03:29:58 +00:00
def test_disown_d():
d = m.D()
2024-07-10 03:29:58 +00:00
m.disown_b(d)
2024-07-10 03:29:58 +00:00
def test_shptr_copy():
m.test_ShPtr_copy()