mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 14:45:12 +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"
|