test_smart_ptr_private_first_base.py 202 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
# -*- coding: utf-8 -*-
import pytest

from pybind11_tests import smart_ptr_private_first_base as m

def test_make_pass():
    d = m.make_shared_drvd()
    i = m.pass_shared_base(d)
    assert i == 200