Bug fix: adding back !is_alias<Class>(ptr) that were accidentally omitted. (#2958)

* 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.
This commit is contained in:
Ralf W. Grosse-Kunstleve
2021-04-19 10:54:37 -07:00
committed by GitHub
parent 0032083113
commit 99de498b26
12 changed files with 177 additions and 97 deletions

View File

@@ -23,7 +23,8 @@ jobs:
- 3.5
- 3.6
- 3.9
- 3.10-dev
# Broken b/o https://github.com/pytest-dev/pytest/issues/8539
# - 3.10-dev
- pypy2
- pypy3