pybind11/tests
Henry Schreiner 0dbda6e80b
feat: py::pos_only (#2459)
* feat: py::pos_only

* fix: review points from @YannickJadoul

* fix: review points from @bstaletic

* refactor: kwonly -> kw_only
2020-09-04 20:02:05 -04:00
..
test_cmake_build feat: new FindPython support (#2370) 2020-08-19 12:26:26 -04:00
test_embed tests: avoid putting build products into source directory (#2353) 2020-08-19 13:11:57 -04:00
CMakeLists.txt tests: avoid putting build products into source directory (#2353) 2020-08-19 13:11:57 -04:00
conftest.py tests: avoid putting build products into source directory (#2353) 2020-08-19 13:11:57 -04:00
constructor_stats.h ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -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 Fix nullptr dereference when loading an external-only module_local type 2017-09-10 12:28:03 +02: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 tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
pybind11_tests.h Change NAMESPACE_* macros into PYBIND11_NAMESPACE_* (#2283) 2020-07-08 18:14:41 -04:00
pytest.ini tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
requirements.txt ci: include Python 3.9 RC1 (#2387) 2020-08-12 14:09:42 -04:00
test_async.cpp Add support for __await__, __aiter__, and __anext__ protocols (#1842) 2019-07-18 09:02:35 +02:00
test_async.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_buffers.cpp support for readonly buffers (#863) (#1466) 2019-11-24 08:33:05 +01:00
test_buffers.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_builtin_casters.cpp cast pointer to std::tuple and std::pair (#2334) 2020-07-28 21:44:19 +02:00
test_builtin_casters.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_call_policies.cpp ci: fix clang warnings 2020-07-26 09:25:27 -04:00
test_call_policies.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_callbacks.cpp Fix async Python functors invoking from multiple C++ threads (#1587) (#1595) 2019-06-11 23:28:58 +02:00
test_callbacks.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_chrono.cpp Fix bug roundtripping datetime.time objects after midnight in eastern hemisphere timezones (#2417) (#2438) 2020-08-28 15:21:43 +02:00
test_chrono.py ci: harden chrono test, mark another macos 4.9 dev failure (#2448) 2020-08-31 14:28:07 -04:00
test_class.cpp Add error_scope to py::class_::dealloc() to protect destructor calls (#2342) 2020-07-31 17:46:12 -07:00
test_class.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_constants_and_functions.cpp Add -Wdeprecated to test suite and fix associated warnings (#1191) 2017-11-22 17:37:41 -04:00
test_constants_and_functions.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_copy_move.cpp Change NAMESPACE_* macros into PYBIND11_NAMESPACE_* (#2283) 2020-07-08 18:14:41 -04:00
test_copy_move.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_custom_type_casters.cpp Refactor: Extract Custom Type Casts related tests 2020-07-01 00:07:49 +02:00
test_custom_type_casters.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_docstring_options.cpp Update all remaining tests to new test styles 2017-08-05 18:46:22 -04:00
test_docstring_options.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_eigen.cpp tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_eigen.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -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 ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_eval_call.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_eval.cpp Update all remaining tests to new test styles 2017-08-05 18:46:22 -04:00
test_eval.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_exceptions.cpp fix: throwing repr caused a segfault (#2389) 2020-08-18 07:14:34 -04:00
test_exceptions.py fix: throwing repr caused a segfault (#2389) 2020-08-18 07:14:34 -04:00
test_factory_constructors.cpp Throw exception on returning a unique_ptr or shared_ptr nullptr (or any other holder type) from py::init, rather than crashing (#2430) 2020-08-25 18:51:06 +02:00
test_factory_constructors.py Throw exception on returning a unique_ptr or shared_ptr nullptr (or any other holder type) from py::init, rather than crashing (#2430) 2020-08-25 18:51:06 +02:00
test_gil_scoped.cpp ci: fix clang warnings 2020-07-26 09:25:27 -04:00
test_gil_scoped.py ci: harden chrono test, mark another macos 4.9 dev failure (#2448) 2020-08-31 14:28:07 -04:00
test_iostream.cpp Utility for redirecting C++ streams to Python (#1009) 2017-08-25 02:12:43 +02:00
test_iostream.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_kwargs_and_defaults.cpp feat: py::pos_only (#2459) 2020-09-04 20:02:05 -04:00
test_kwargs_and_defaults.py feat: py::pos_only (#2459) 2020-09-04 20:02:05 -04:00
test_local_bindings.cpp Fix nullptr dereference when loading an external-only module_local type 2017-09-10 12:28:03 +02:00
test_local_bindings.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_methods_and_attributes.cpp ci: fix clang warnings 2020-07-26 09:25:27 -04:00
test_methods_and_attributes.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_modules.cpp Update all remaining tests to new test styles 2017-08-05 18:46:22 -04:00
test_modules.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_multiple_inheritance.cpp PyPy3 support (#2146) 2020-07-07 15:58:16 +02:00
test_multiple_inheritance.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_numpy_array.cpp Enable py::ellipsis on Python 2 (#2360) 2020-08-04 14:45:55 +02:00
test_numpy_array.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_numpy_dtypes.cpp Dtype field ordering for NumPy 1.14 (#1837) 2019-07-15 13:31:03 +02:00
test_numpy_dtypes.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_numpy_vectorize.cpp Update all remaining tests to new test styles 2017-08-05 18:46:22 -04:00
test_numpy_vectorize.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_opaque_types.cpp Improve macro type handling for types with commas 2018-03-10 14:24:23 -04:00
test_opaque_types.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_operator_overloading.cpp Set __hash__ to None for types that defines __eq__, but not __hash__ (#2291) 2020-07-27 01:44:25 +02:00
test_operator_overloading.py Set __hash__ to None for types that defines __eq__, but not __hash__ (#2291) 2020-07-27 01:44:25 +02:00
test_pickling.cpp Relax py::pickle() get/set type check 2017-09-06 15:20:52 +02:00
test_pickling.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_pytypes.cpp pytypes: Add Gotchas section about default-constructed wrapper types and py::none() (#2362) 2020-09-04 19:26:57 -04:00
test_pytypes.py pytypes: Add Gotchas section about default-constructed wrapper types and py::none() (#2362) 2020-09-04 19:26:57 -04:00
test_sequences_and_iterators.cpp tests: fix CI by including <algorithm> to stop MSVC from complaining about std::count_if in tests/test_sequences_and_iterators.cpp (#2435) 2020-08-25 23:51:07 -04:00
test_sequences_and_iterators.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_smart_ptr.cpp ci: fix clang warnings 2020-07-26 09:25:27 -04:00
test_smart_ptr.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_stl_binders.cpp test pair-copyability on C++17 upwards (#1886) 2019-10-31 12:38:24 +01:00
test_stl_binders.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_stl.cpp Fix compile error on GCC4.8 2020-06-29 21:01:20 +02:00
test_stl.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_tagbased_polymorphic.cpp Adding a default virtual destructor to Animal type in test_tagbased_polymorphic.cpp. 2020-04-14 17:48:43 +02:00
test_tagbased_polymorphic.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35: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 ci: fix clang warnings 2020-07-26 09:25:27 -04:00
test_virtual_functions.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00