pybind11/tests
Ralf W. Grosse-Kunstleve 7aa604d9d4 Also removing `operator T()` from smart_holder_type_caster, to fix gcc compilation errors. The only loss is pass_rref in test_class_sh_basic. 2021-02-12 10:36:18 -08:00
..
extra_python_package Removing include/pybind11/detail/smart_holder_type_casters.h from CMakeLists.txt, test_files.py (since it does not exist in this branch). 2021-02-09 06:47:45 -08:00
extra_setuptools feat: parallel compiler (#2521) 2020-10-02 10:03:35 -04:00
pure_cpp Replacing condense_for_macro with much simpler approach. 2021-02-09 06:47:45 -08:00
test_cmake_build fix: support basic dual includes (#2804) 2021-01-19 18:49:03 -05:00
test_embed style: avoid using unintialized variables (#2806) 2021-01-19 18:48:22 -05:00
CMakeLists.txt Removing test_type_caster_bare_interface, which was moved to the separate PR #2834. 2021-02-09 06:47:44 -08:00
class_sh_module_local_0.cpp Systematically renaming tests to use "class_sh" in the name. 2021-02-09 06:47:07 -08:00
class_sh_module_local_1.cpp Reintroducing py::classh, this time as a simple alias for py::class_<U, py::smart_holder>. 2021-02-09 06:47:08 -08:00
class_sh_module_local_2.cpp Reintroducing py::classh, this time as a simple alias for py::class_<U, py::smart_holder>. 2021-02-09 06:47:08 -08:00
conftest.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
constructor_stats.h refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
cross_module_gil_utils.cpp Make sure `detail::get_internals` acquires the GIL before making Python calls. (#1836) 2019-07-15 16:47:02 +02:00
env.py ci: reduce flakiness a little (#2418) 2020-08-20 11:58:34 -04:00
local_bindings.h style: clang-tidy: llvm-namespace-comment 2020-09-15 09:56:59 -04:00
object.h Improve custom holder support (#607) 2017-01-31 17:05:44 +01:00
pybind11_cross_module_tests.cpp Make TypeErrors more informative when an optional header is missing 2017-09-12 08:06:46 +02:00
pybind11_tests.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
pybind11_tests.h Ignore deprecation warnings about old-style __init__/__setstate__ constructors in the tests (originally done in #2746) (#2759) 2021-01-01 17:37:28 +01:00
pytest.ini Make sure all warnings in pytest get turned into errors (#2838) 2021-02-01 14:52:20 +01:00
requirements.txt chore: get PyPy 3.7 wheels using NumPy 1.20 (#2837) 2021-01-31 17:29:09 -05:00
test_async.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_async.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_buffers.cpp style: ssize_t -> py::ssize_t 2020-10-15 17:38:49 -04:00
test_buffers.py Fix various minor memory leaks in the tests (found by Valgrind in #2746) (#2758) 2021-01-01 17:05:22 +01:00
test_builtin_casters.cpp fix: Intel ICC C++17 compatibility (#2729) 2021-01-17 19:53:07 -05:00
test_builtin_casters.py Make sure all warnings in pytest get turned into errors (#2838) 2021-02-01 14:52:20 +01:00
test_call_policies.cpp ci: fix clang warnings 2020-07-26 09:25:27 -04:00
test_call_policies.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_callbacks.cpp fix: Intel ICC C++17 compatibility (#2729) 2021-01-17 19:53:07 -05:00
test_callbacks.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_chrono.cpp fix: allow assignment of time points of resolutions other than that of a system clock (#2481) 2020-09-13 10:24:00 -04:00
test_chrono.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_class.cpp Adding PYBIND11_SMART_POINTER_HOLDER_TYPE_CASTERS in test_class.cpp (with this all but one test succeed with PYBIND11_USE_SMART_HOLDER_AS_DEFAULT). 2021-02-09 06:47:45 -08:00
test_class.py fix: test_factory_constructors.py failure triggered by test_register_duplicate_class (#2564) 2020-10-16 16:38:51 -04:00
test_class_sh_basic.cpp Also removing `operator T()` from smart_holder_type_caster, to fix gcc compilation errors. The only loss is pass_rref in test_class_sh_basic. 2021-02-12 10:36:18 -08:00
test_class_sh_basic.py Also removing `operator T()` from smart_holder_type_caster, to fix gcc compilation errors. The only loss is pass_rref in test_class_sh_basic. 2021-02-12 10:36:18 -08:00
test_class_sh_factory_constructors.cpp Adding initimpl::construct() overloads, resulting in test_class_sh_factory_constructors feature parity for py::class_ and py::classh. 2021-02-09 06:47:45 -08:00
test_class_sh_factory_constructors.py Adding test_class_sh_factory_constructors, reproducing test_factory_constructors failure. Using py::class_ in this commit, to be changed to py::classh for debugging. 2021-02-09 06:47:45 -08:00
test_class_sh_inheritance.cpp Reintroducing py::classh, this time as a simple alias for py::class_<U, py::smart_holder>. 2021-02-09 06:47:08 -08:00
test_class_sh_inheritance.py Systematically renaming tests to use "class_sh" in the name. 2021-02-09 06:47:07 -08:00
test_class_sh_module_local.py Systematically renaming tests to use "class_sh" in the name. 2021-02-09 06:47:07 -08:00
test_class_sh_unique_ptr_member.cpp Introducing 1. type_caster_for_class_, used in PYBIND11_MAKE_OPAQUE, and 2. default_holder_type, used in stl_bind.h. 2021-02-09 06:47:45 -08:00
test_class_sh_unique_ptr_member.py Adding "Lazy allocation for unallocated values" (for old-style __init__) into load_value_and_holder. Deferring destruction of disowned holder until clear_instance, to remain inspectable for "uninitialized" or "disowned" detection. New stats for all tests combined: 5 failed, 465 passed. 2021-02-09 06:47:46 -08:00
test_constants_and_functions.cpp fix: Intel ICC C++17 compatibility (#2729) 2021-01-17 19:53:07 -05:00
test_constants_and_functions.py Plug leaking function_records in cpp_function initialization in case of exceptions (found by Valgrind in #2746) (#2756) 2021-01-14 19:34:32 +01:00
test_copy_move.cpp Fix various minor memory leaks in the tests (found by Valgrind in #2746) (#2758) 2021-01-01 17:05:22 +01:00
test_copy_move.py Fix various minor memory leaks in the tests (found by Valgrind in #2746) (#2758) 2021-01-01 17:05:22 +01:00
test_custom_type_casters.cpp ci: Intel icc/icpc via oneAPI (#2573) 2021-01-15 15:59:47 -05:00
test_custom_type_casters.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_docstring_options.cpp fix: do not set docstring for function when empty (#2745) 2020-12-27 22:56:30 -05:00
test_docstring_options.py fix: do not set docstring for function when empty (#2745) 2020-12-27 22:56:30 -05:00
test_eigen.cpp ci: Intel icc/icpc via oneAPI (#2573) 2021-01-15 15:59:47 -05:00
test_eigen.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_enum.cpp Avoid conversion to `int_` rhs argument of enum eq/ne (#1912) 2019-09-19 18:23:27 +02:00
test_enum.py enum: add missing Enum.value property (#2739) 2020-12-31 11:08:15 -05:00
test_eval.cpp Add __builtins__ to globals argument of `py::exec` and `py::eval` if not present (#2616) 2020-10-27 19:58:27 +01:00
test_eval.py Add __builtins__ to globals argument of `py::exec` and `py::eval` if not present (#2616) 2020-10-27 19:58:27 +01:00
test_eval_call.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_exceptions.cpp clang -Wnon-virtual-dtor compatibility (#2626) 2020-10-29 06:12:14 -07:00
test_exceptions.py tests: update pytest 6.2.1 and fix test_python_alreadyset_in_destructor (#2741) 2020-12-24 09:53:23 -05:00
test_factory_constructors.cpp Adding remaining PYBIND11_SMART_POINTER_HOLDER_TYPE_CASTERS. static_assert for "necessary conditions" for both types of default holder, static_assert for "strict conditions" guarded by new PYBIND11_STRICT_ASSERTS_CLASS_HOLDER_VS_TYPE_CASTER_MIX. All tests build & run as before with unique_ptr as the default holder, all tests build for smart_holder as the default holder, even with the strict static_assert. 2021-02-09 06:47:46 -08:00
test_factory_constructors.py Fixing unfortunate editing mishap. This reverts the last remaining test manipulation in commit 249df7cbdb and makes all existing unit tests pass with smart_holder as default holder. 2021-02-11 19:56:22 -08:00
test_gil_scoped.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_gil_scoped.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_iostream.cpp pythonbuf fix (#2675) 2020-11-19 12:09:33 +01:00
test_iostream.py pythonbuf fix (#2675) 2020-11-19 12:09:33 +01:00
test_kwargs_and_defaults.cpp style: ssize_t -> py::ssize_t 2020-10-15 17:38:49 -04:00
test_kwargs_and_defaults.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_local_bindings.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_local_bindings.py minor cleanup: fixing or silencing flake8 errors (#2731) 2020-12-18 19:41:43 -05:00
test_methods_and_attributes.cpp Changing std::shared_ptr pointer/reference to const pointer/reference. New stats for all tests combined: 4 failed, 466 passed. 2021-02-09 09:01:13 -08:00
test_methods_and_attributes.py Removing `operator T&&() &&` from smart_holder_type_caster, for compatibility with the behavior of type_caster_base. Enables reverting 2 of 3 test manipulations applied under commit 249df7cbdb. The manipulation in test_factory_constructors.py is NOT reverted in this commit. 2021-02-11 18:29:10 -08:00
test_modules.cpp feat: deprecate public constructors of module_ class (#2552) 2020-10-09 10:46:11 -04:00
test_modules.py Force the builtin module key to be the correct type. (#2814) 2021-01-24 09:17:28 -08:00
test_multiple_inheritance.cpp GitHub CI clang-tidy fixes. 2021-02-11 20:40:15 -08:00
test_multiple_inheritance.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_numpy_array.cpp ci: Intel icc/icpc via oneAPI (#2573) 2021-01-15 15:59:47 -05:00
test_numpy_array.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_numpy_dtypes.cpp style: ssize_t -> py::ssize_t 2020-10-15 17:38:49 -04:00
test_numpy_dtypes.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_numpy_vectorize.cpp style: ssize_t -> py::ssize_t 2020-10-15 17:38:49 -04:00
test_numpy_vectorize.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_opaque_types.cpp Allow raw unions without base classes in is_accessible_base_of (#2320) 2020-10-02 09:39:22 -04:00
test_opaque_types.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_operator_overloading.cpp fix: AppleClang 12 warnings (#2510) 2020-09-19 20:23:47 +02:00
test_operator_overloading.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_pickling.cpp Ignore deprecation warnings about old-style __init__/__setstate__ constructors in the tests (originally done in #2746) (#2759) 2021-01-01 17:37:28 +01:00
test_pickling.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_pytypes.cpp Fix confusing weakref constructor overload (#2832) 2021-01-31 23:13:31 +01:00
test_pytypes.py Fix confusing weakref constructor overload (#2832) 2021-01-31 23:13:31 +01:00
test_sequences_and_iterators.cpp style: ssize_t -> py::ssize_t 2020-10-15 17:38:49 -04:00
test_sequences_and_iterators.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_smart_ptr.cpp GitHub CI clang-tidy fixes. 2021-02-11 20:40:15 -08:00
test_smart_ptr.py Overlooked flake8 fixes. 2021-02-09 15:57:59 -08:00
test_stl.cpp style: clang-tidy: llvm-namespace-comment 2020-09-15 09:56:59 -04:00
test_stl.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_stl_binders.cpp Fix various minor memory leaks in the tests (found by Valgrind in #2746) (#2758) 2021-01-01 17:05:22 +01:00
test_stl_binders.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_tagbased_polymorphic.cpp style: clang-tidy: llvm-namespace-comment 2020-09-15 09:56:59 -04:00
test_tagbased_polymorphic.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_union.cpp Fix assertion failure for unions (#1685) (#1709) 2019-06-11 23:28:58 +02:00
test_union.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_virtual_functions.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_virtual_functions.py Removing `operator T&&() &&` from smart_holder_type_caster, for compatibility with the behavior of type_caster_base. Enables reverting 2 of 3 test manipulations applied under commit 249df7cbdb. The manipulation in test_factory_constructors.py is NOT reverted in this commit. 2021-02-11 18:29:10 -08:00
valgrind-numpy-scipy.supp chore: get PyPy 3.7 wheels using NumPy 1.20 (#2837) 2021-01-31 17:29:09 -05:00
valgrind-python.supp chore: get PyPy 3.7 wheels using NumPy 1.20 (#2837) 2021-01-31 17:29:09 -05:00