mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-13 17:13:53 +00:00
13 lines
232 B
Python
13 lines
232 B
Python
from pybind11_tests import unique_ptr_member as m
|
|
|
|
|
|
def test_pointee_and_ptr_owner():
|
|
m.to_cout("")
|
|
obj = m.pointee()
|
|
assert obj.get_int() == 213
|
|
del obj
|
|
print("DONE.", flush=True)
|
|
|
|
|
|
test_pointee_and_ptr_owner()
|