mirror of
https://github.com/pybind/pybind11.git
synced 2024-12-01 17:37:15 +00:00
d9d96118e6
All unit tests pass ASAN and MSAN testing with the Google-internal toolchain.
9 lines
179 B
Python
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"
|