pybind11/tests
Michał Górny 1d3b04e805
test: Strip whitespace when comparing numpy dtypes for 1.22 compat (#3682)
* test: Strip whitespace when comparing numpy dtypes for 1.22 compat

Strip whitespace when comparing numpy dtype str() in order to preserve
test compatibility with both numpy 1.22 and older versions whose output
differ by whitespace.

Fixes #3680

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-02-03 12:29:46 -05:00
..
extra_python_package
extra_setuptools fix(setup =_helpers): don't add -g0 CFLAGS sets -g (#3436) 2021-11-08 16:27:32 -05:00
test_cmake_build
test_embed [master] Wrong caching of overrides (#3465) 2021-11-15 13:36:41 -05:00
CMakeLists.txt A way to register additional test targets and support .py only tests. (#3590) 2022-01-11 17:31:19 -08:00
conftest.py
constructor_stats.h
cross_module_gil_utils.cpp
env.py
local_bindings.h
object.h
pybind11_cross_module_tests.cpp
pybind11_tests.cpp
pybind11_tests.h fix: avoiding usage of _ if already defined (#3423) 2021-12-21 14:24:21 -05:00
pytest.ini
requirements.txt ci: support development releases of Python (#3419) 2021-11-17 09:44:19 -05:00
test_async.cpp
test_async.py
test_buffers.cpp
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
test_call_policies.py
test_callbacks.cpp
test_callbacks.py maint: Add additional linter-related pre-commit hooks (#3337) 2021-10-08 08:38:04 -04:00
test_chrono.cpp
test_chrono.py
test_class.cpp
test_class.py
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
test_constants_and_functions.py
test_copy_move.cpp fix: avoiding usage of _ if already defined (#3423) 2021-12-21 14:24:21 -05:00
test_copy_move.py
test_custom_type_casters.cpp Adding dedicated test_const_name. (#3578) 2021-12-29 12:54:25 -08:00
test_custom_type_casters.py
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
test_docstring_options.py
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
test_enum.cpp
test_enum.py maint: Add additional linter-related pre-commit hooks (#3337) 2021-10-08 08:38:04 -04:00
test_eval_call.py
test_eval.cpp
test_eval.py
test_exceptions.cpp Add support for nested C++11 exceptions (#3608) 2022-01-14 14:22:47 -05:00
test_exceptions.h
test_exceptions.py Add support for nested C++11 exceptions (#3608) 2022-01-14 14:22:47 -05:00
test_factory_constructors.cpp
test_factory_constructors.py
test_gil_scoped.cpp
test_gil_scoped.py
test_iostream.cpp
test_iostream.py
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
test_local_bindings.py
test_methods_and_attributes.cpp fix: add missing std::forward calls (#3443) 2021-11-07 18:35:25 -05:00
test_methods_and_attributes.py fix: add missing std::forward calls (#3443) 2021-11-07 18:35:25 -05:00
test_modules.cpp
test_modules.py
test_multiple_inheritance.cpp Fix caster optimization regression introduced in #3650 (#3659) 2022-01-31 12:19:48 -05:00
test_multiple_inheritance.py Fix caster optimization regression introduced in #3650 (#3659) 2022-01-31 12:19:48 -05:00
test_numpy_array.cpp
test_numpy_array.py
test_numpy_dtypes.cpp
test_numpy_dtypes.py test: Strip whitespace when comparing numpy dtypes for 1.22 compat (#3682) 2022-02-03 12:29:46 -05:00
test_numpy_vectorize.cpp
test_numpy_vectorize.py
test_opaque_types.cpp
test_opaque_types.py
test_operator_overloading.cpp Add additional info to TypeError when C++->Python casting fails (#3605) 2022-01-10 21:18:00 -05:00
test_operator_overloading.py Add additional info to TypeError when C++->Python casting fails (#3605) 2022-01-10 21:18:00 -05:00
test_pickling.cpp
test_pickling.py maint: Add additional linter-related pre-commit hooks (#3337) 2021-10-08 08:38:04 -04:00
test_pytypes.cpp Render py::bool_ and py::float_ without _ in docstrings (#3622) 2022-01-16 07:05:46 -08:00
test_pytypes.py Render py::bool_ and py::float_ without _ in docstrings (#3622) 2022-01-16 07:05:46 -08: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
test_smart_ptr.py
test_stl_binders.cpp
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
test_tagbased_polymorphic.py
test_thread.cpp
test_thread.py
test_union.cpp
test_union.py
test_virtual_functions.cpp Add clang-tidy readability checks for sus args (#3611) 2022-01-11 17:34:16 -08:00
test_virtual_functions.py [master] Wrong caching of overrides (#3465) 2021-11-15 13:36:41 -05:00
valgrind-numpy-scipy.supp
valgrind-python.supp