mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-14 09:34:46 +00:00
99de498b26
* Bug fix: adding back `!is_alias<Class>(ptr)` that were accidentally omitted. * Introducing PYBIND11_SH_AVL, PYBIND11_SH_DEF macros. Applying PYBIND11_SH_DEF to test_factory_constructors.py to complete test coverage. * Using PYBIND11_SH_DEF in test_methods_and_attributes.cpp, for more complete test coverage. * Using PYBIND11_SH_DEF in test_multiple_inheritance.cpp, for more complete test coverage. * Cleaning up test_classh_mock.cpp. * Better explanations for PYBIND11_SH_AVL, PYBIND11_SH_DEF. * Disabling 3.10-dev builds.
14 lines
366 B
Python
14 lines
366 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from pybind11_tests import classh_mock as m
|
|
|
|
|
|
def test_foobar():
|
|
# Not really testing anything in particular. The main purpose of this test is to ensure the
|
|
# suggested BOILERPLATE code block in test_classh_mock.cpp is correct.
|
|
assert m.FooUc()
|
|
assert m.FooUp()
|
|
assert m.FooSa()
|
|
assert m.FooSc()
|
|
assert m.FooSp()
|