pybind11/tests/test_class_sh_unique_ptr_cu...

7 lines
143 B
Python

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