mirror of
https://github.com/pybind/pybind11.git
synced 2024-12-02 01:47:12 +00:00
c684f6cec0
Reduced from a PyCLIF use case in the wild by @wangxf123456 (internal change cl/565476030).
7 lines
143 B
Python
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"
|