Пример #1
0
def test_smart_ptr_refcounting():
    from pybind11_tests import test_object1_refcounting
    assert test_object1_refcounting()
Пример #2
0
def test_smart_ptr_refcounting():
    from pybind11_tests import test_object1_refcounting
    assert test_object1_refcounting()
Пример #3
0
def test_smart_ptr_refcounting():
    from pybind11_tests import test_object1_refcounting
    if not test_object1_refcounting():
        raise AssertionError