pybind11/tests
Dustin Spicuzza 9e43db614f
fix: names of types held by smart holder should be the actual type (#3588)
Required for pybind11-stubgen to work properly
2022-01-03 15:46:13 -08:00
..
extra_python_package Removing obsolete detail/pragma_warning_block.h 2021-08-14 08:42:38 -07:00
extra_setuptools fix(setup =_helpers): don't add -g0 CFLAGS sets -g (#3436) 2021-11-08 16:27:32 -05:00
pure_cpp clang-tidy fixes related to PR #3250 2021-09-08 22:05:23 -07:00
test_cmake_build fix: Set __file__ constant when using eval_file (#1300) (#3233) 2021-09-09 14:06:33 -04:00
test_embed Using PYBIND11_SH_DEF for test_override_cache_helper introduced by PR #3465. 2021-11-15 14:59:46 -08:00
class_sh_module_local_0.cpp Adding py::smart_holder (for smart-pointer interoperability). (#2672) 2021-02-23 21:50:42 -08:00
class_sh_module_local_1.cpp Adding py::smart_holder (for smart-pointer interoperability). (#2672) 2021-02-23 21:50:42 -08:00
class_sh_module_local_2.cpp Adding py::smart_holder (for smart-pointer interoperability). (#2672) 2021-02-23 21:50:42 -08:00
CMakeLists.txt Merge branch 'master' into sh_merge_master_clean 2021-12-29 13:24:20 -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 env: Add surrogate for pytest.deprecated_call for ptyest<3.9 (#2923) 2021-04-02 14:34:09 -04:00
local_bindings.h CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 2021-09-08 18:53:38 -07:00
object.h CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 2021-09-08 18:53:38 -07:00
pybind11_cross_module_tests.cpp CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 2021-09-08 18:53:38 -07:00
pybind11_tests.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
pybind11_tests.h fix: avoiding usage of _ if already defined (#3423) 2021-12-21 14:24:21 -05:00
pytest.ini Make sure all warnings in pytest get turned into errors (#2838) 2021-02-01 14:52:20 +01:00
requirements.txt ci: support development releases of Python (#3419) 2021-11-17 09:44:19 -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 CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 2021-09-08 18:53:38 -07:00
test_buffers.py Fixing stict vs strict typo. (#3493) 2021-11-22 01:33:03 -08:00
test_builtin_casters.cpp fix: avoiding usage of _ if already defined (#3423) 2021-12-21 14:24:21 -05:00
test_builtin_casters.py Expand std::string_view support to str, bytes, memoryview (#3521) 2021-12-03 13:20:32 -04:00
test_call_policies.cpp functions: Add doc on incorrect argument index (#2979) 2021-05-06 10:13:30 -04:00
test_call_policies.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_callbacks.cpp fix: memory leak in cpp_function (#3228) (#3229) 2021-08-30 21:48:33 -04:00
test_callbacks.py maint: Add additional linter-related pre-commit hooks (#3337) 2021-10-08 08:38:04 -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 maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_class_sh_basic.cpp fix: names of types held by smart holder should be the actual type (#3588) 2022-01-03 15:46:13 -08:00
test_class_sh_basic.py fix: names of types held by smart holder should be the actual type (#3588) 2022-01-03 15:46:13 -08:00
test_class_sh_disowning_mi.cpp clang-tidy fixes related to PR #3250 2021-09-08 22:05:23 -07:00
test_class_sh_disowning_mi.py Automatic isort fixes. 2021-08-14 08:34:52 -07:00
test_class_sh_disowning.cpp clang-tidy fixes related to PR #3250 2021-09-08 22:05:23 -07:00
test_class_sh_disowning.py Adding reclaim_disowned logic & miscellaneous naming and documentation improvements. (#2943) 2021-04-09 23:08:44 -07:00
test_class_sh_factory_constructors.cpp Follow-on to PR #3148 (cang-tidy). 2021-07-27 16:18:30 -07:00
test_class_sh_factory_constructors.py Adding py::smart_holder (for smart-pointer interoperability). (#2672) 2021-02-23 21:50:42 -08:00
test_class_sh_inheritance.cpp Follow-on to PR #3148 (cang-tidy). 2021-07-27 16:18:30 -07:00
test_class_sh_inheritance.py Adding py::smart_holder (for smart-pointer interoperability). (#2672) 2021-02-23 21:50:42 -08:00
test_class_sh_module_local.py Automatic isort fixes. 2021-08-14 08:34:52 -07:00
test_class_sh_shared_ptr_copy_move.cpp clang-tidy fixes related to PR #3250 2021-09-08 22:05:23 -07:00
test_class_sh_shared_ptr_copy_move.py SM, remove type annotations in test 2021-06-29 05:57:32 -07:00
test_class_sh_trampoline_basic.cpp clang-tidy fixes related to PR #3250 2021-09-08 22:05:23 -07:00
test_class_sh_trampoline_basic.py Adding reclaim_disowned logic & miscellaneous naming and documentation improvements. (#2943) 2021-04-09 23:08:44 -07:00
test_class_sh_trampoline_self_life_support.cpp Adding NOLINT related to https://github.com/pybind/pybind11/pull/3210 2021-08-26 16:19:39 -07:00
test_class_sh_trampoline_self_life_support.py Bug fix: trampoline_self_life_support CpCtor, MvCtor. (#2947) 2021-04-13 05:34:46 -07:00
test_class_sh_trampoline_shared_from_this.cpp clang-tidy fixes (mostly manual) related to PR #3166 2021-08-14 12:45:50 -07:00
test_class_sh_trampoline_shared_from_this.py Fixes based on newly added pre-submit checks. 2021-10-11 13:22:39 -07:00
test_class_sh_trampoline_shared_ptr_cpp_arg.cpp This was meant to be PR #3065: pure clang-format changes. NO manual changes. (#3073) 2021-07-02 16:51:24 -07:00
test_class_sh_trampoline_shared_ptr_cpp_arg.py Adding test_multiple_registered_instances_for_same_pointee_leak. Subtle changes in smart_holder_type_caster_load, trying to work on weak_ptr for shared_ptr_trampoline_self_life_support, but that didn't work out. Manually fully leak-checked again. 2021-06-30 07:04:31 -07:00
test_class_sh_trampoline_unique_ptr.cpp This was meant to be PR #3065: pure clang-format changes. NO manual changes. (#3073) 2021-07-02 16:51:24 -07:00
test_class_sh_trampoline_unique_ptr.py Adding reclaim_disowned logic & miscellaneous naming and documentation improvements. (#2943) 2021-04-09 23:08:44 -07:00
test_class_sh_unique_ptr_member.cpp This was meant to be PR #3065: pure clang-format changes. NO manual changes. (#3073) 2021-07-02 16:51:24 -07:00
test_class_sh_unique_ptr_member.py Changing cast_error("... Python instance was disowned.") to value_error (which changes RuntimeError to ValueError). (#2880) 2021-02-26 23:19:23 -08:00
test_class_sh_virtual_py_cpp_mix.cpp This was meant to be PR #3065: pure clang-format changes. NO manual changes. (#3073) 2021-07-02 16:51:24 -07:00
test_class_sh_virtual_py_cpp_mix.py Using dynamic_cast<AliasType> to determine pointee_depends_on_holder_owner. (#2910) 2021-03-19 12:18:39 -07:00
test_class.cpp Merge branch 'master' into smart_holder 2021-09-20 19:05:52 -07:00
test_class.py Enable defining custom __new__ (#3265) 2021-09-20 10:42:14 -04:00
test_classh_mock.cpp Bug fix: adding back !is_alias<Class>(ptr) that were accidentally omitted. (#2958) 2021-04-19 10:54:37 -07:00
test_classh_mock.py Bug fix: adding back !is_alias<Class>(ptr) that were accidentally omitted. (#2958) 2021-04-19 10:54:37 -07:00
test_const_name.cpp Adding dedicated test_const_name. (#3578) 2021-12-29 12:54:25 -08:00
test_const_name.py Adding dedicated test_const_name. (#3578) 2021-12-29 12:54:25 -08:00
test_constants_and_functions.cpp Removing __INTEL_COMPILER section from pragma block at the top of pybind11.h (#3135) 2021-07-27 15:33:31 -07: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: avoiding usage of _ if already defined (#3423) 2021-12-21 14:24:21 -05:00
test_copy_move.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_custom_type_casters.cpp Adding dedicated test_const_name. (#3578) 2021-12-29 12:54:25 -08:00
test_custom_type_casters.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_custom_type_setup.cpp Add custom_type_setup attribute (#3287) 2021-09-24 12:08:22 -07:00
test_custom_type_setup.py Add custom_type_setup attribute (#3287) 2021-09-24 12:08:22 -07: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 Correct options on Eigen::MappedSparseMatrix & adding MSVC C4127 suppression around Eigen includes. (#3352) 2021-10-11 13:13:01 -07:00
test_eigen.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_enum.cpp Fix enum value's __int__ returning non-int when underlying type is bool or of char type (#1334) 2021-08-26 14:34:24 -07:00
test_enum.py maint: Add additional linter-related pre-commit hooks (#3337) 2021-10-08 08:38:04 -04:00
test_eval_call.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_eval.cpp test_eval: Show example of working closure (#2743) 2021-08-06 15:51:53 -04:00
test_eval.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_exceptions.cpp CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 2021-09-08 18:53:38 -07:00
test_exceptions.h fix: Mingw64 corrected and add a CI job to test it (#3132) 2021-07-30 13:48:41 -04:00
test_exceptions.py ci: support development releases of Python (#3419) 2021-11-17 09:44:19 -05:00
test_factory_constructors.cpp Merge branch 'master' into sh_merge_master 2021-09-08 18:56:35 -07:00
test_factory_constructors.py Automatic part of merging branch 'master' into sh_merge_master. 2021-08-14 07:54:40 -07:00
test_gil_scoped.cpp fix(clang-tidy): performance fixes applied in tests and CI (#3051) 2021-06-22 12:11:54 -04:00
test_gil_scoped.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_iostream.cpp Adding iostream.h thread-safety documentation. (#2995) 2021-07-12 13:39:06 -07:00
test_iostream.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_kwargs_and_defaults.cpp Fix py::kw_only when used before the first arg of a method (#3488) 2021-11-20 16:01:57 -08:00
test_kwargs_and_defaults.py Fix py::kw_only when used before the first arg of a method (#3488) 2021-11-20 16:01:57 -08:00
test_local_bindings.cpp CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 2021-09-08 18:53:38 -07:00
test_local_bindings.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_methods_and_attributes.cpp Merge branch 'master' into sh_merge_master 2021-11-07 16:26:55 -08:00
test_methods_and_attributes.py Merge branch 'master' into sh_merge_master 2021-11-07 16:26:55 -08:00
test_modules.cpp CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 2021-09-08 18:53:38 -07:00
test_modules.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_multiple_inheritance.cpp Merge branch 'master' into sh_merge_master 2021-09-08 18:56:35 -07:00
test_multiple_inheritance.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_numpy_array.cpp view for numpy arrays (#987) 2021-08-26 14:11:01 -07:00
test_numpy_array.py view for numpy arrays (#987) 2021-08-26 14:11:01 -07:00
test_numpy_dtypes.cpp maint(clang-tidy): Bugprone enable checks (#3166) 2021-08-06 14:30:28 -04:00
test_numpy_dtypes.py ci: extend msys2 mingw CI (#3207) 2021-08-19 14:42:55 -04:00
test_numpy_vectorize.cpp CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 2021-09-08 18:53:38 -07:00
test_numpy_vectorize.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_opaque_types.cpp fix(clang-tidy): performance fixes applied in tests and CI (#3051) 2021-06-22 12:11:54 -04:00
test_opaque_types.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_operator_overloading.cpp fix(clang-tidy): performance fixes applied in tests and CI (#3051) 2021-06-22 12:11:54 -04:00
test_operator_overloading.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_pickling.cpp CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 2021-09-08 18:53:38 -07:00
test_pickling.py maint: Add additional linter-related pre-commit hooks (#3337) 2021-10-08 08:38:04 -04:00
test_pytypes.cpp fix: deprecate make_simple_namespace, fix Python 3.11 (#3374) 2021-10-19 14:39:29 -04:00
test_pytypes.py maint: Add additional linter-related pre-commit hooks (#3337) 2021-10-08 08:38:04 -04:00
test_sequences_and_iterators.cpp Fix make_key_iterator/make_value_iterator for prvalue iterators (#3348) 2021-10-11 08:35:39 -07:00
test_sequences_and_iterators.py Fix make_key_iterator/make_value_iterator for prvalue iterators (#3348) 2021-10-11 08:35:39 -07:00
test_smart_ptr.cpp Merge branch 'master' into sh_merge_master 2021-09-08 18:56:35 -07:00
test_smart_ptr.py Restoring init_holder overload for std::enable_shared_from_this and original tests/test_smart_ptr.py. 2021-06-30 07:04:31 -07:00
test_stl_binders.cpp CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 2021-09-08 18:53:38 -07:00
test_stl_binders.py maint: Add additional linter-related pre-commit hooks (#3337) 2021-10-08 08:38:04 -04:00
test_stl.cpp fix: the types for return_value_policy_override in optional_caster (#3376) 2021-10-25 19:04:45 -07:00
test_stl.py fix: the types for return_value_policy_override in optional_caster (#3376) 2021-10-25 19:04:45 -07:00
test_tagbased_polymorphic.cpp CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 2021-09-08 18:53:38 -07:00
test_tagbased_polymorphic.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_thread.cpp Fix thread safety for pybind11 loader_life_support (#3237) 2021-09-10 12:29:21 -04:00
test_thread.py Fix thread safety for pybind11 loader_life_support (#3237) 2021-09-10 12:29:21 -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 Using PYBIND11_SH_DEF for test_override_cache_helper introduced by PR #3465. 2021-11-15 14:59:46 -08:00
test_virtual_functions.py [master] Wrong caching of overrides (#3465) 2021-11-15 13:36:41 -05:00
valgrind-numpy-scipy.supp docs: fix various typos (#3075) 2021-07-04 19:58:35 -04:00
valgrind-python.supp chore: get PyPy 3.7 wheels using NumPy 1.20 (#2837) 2021-01-31 17:29:09 -05:00