1 from __future__
import annotations
5 from pybind11_tests
import vector_unique_ptr_member
as m
8 @pytest.mark.parametrize(
"num_elems",
range(3))
10 vo = m.VectorOwner.Create(num_elems)
11 assert vo.data_size() == num_elems
15 vo = m.VectorOwner.Create(0)
16 assert m.py_cast_VectorOwner_ptr(vo)
is vo