pybind11/tests/test_class_sh_unique_ptr_cu...

9 lines
179 B
Python

from __future__ import annotations
from pybind11_tests import class_sh_unique_ptr_custom_deleter as m
def test_create():
pet = m.create("abc")
assert pet.name == "abc"