pybind11/tests/test_class_sh_unique_ptr_custom_deleter.py

7 lines
143 B
Python
Raw Normal View History

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