pybind11/tests
Yannick Jadoul 98f1bbb800
Ignore deprecation warnings about old-style __init__/__setstate__ constructors in the tests (originally done in #2746) (#2759)
* Ignore old-style __init__ warnings

* Simplify ignoreOldStyleInitWarnings with py::exec

* Only wrap single class_::defs to ignore DeprecationWarnings about old-style __init__
2021-01-01 17:37:28 +01:00
..
extra_python_package
extra_setuptools
test_cmake_build
test_embed style: clang-tidy: modernize-use-using (#2645) 2020-11-09 10:10:19 -08:00
CMakeLists.txt clang -Wnon-virtual-dtor compatibility (#2626) 2020-10-29 06:12:14 -07:00
conftest.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
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 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
requirements.txt tests: update pytest 6.2.1 and fix test_python_alreadyset_in_destructor (#2741) 2020-12-24 09:53:23 -05:00
test_async.cpp
test_async.py
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 Adjusting type_caster<std::reference_wrapper<T>> to support const/non-const propagation in cast_op. (#2705) 2020-12-15 16:53:55 -08:00
test_builtin_casters.py Adjusting type_caster<std::reference_wrapper<T>> to support const/non-const propagation in cast_op. (#2705) 2020-12-15 16:53:55 -08:00
test_call_policies.cpp
test_call_policies.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_callbacks.cpp clang -Wnon-virtual-dtor compatibility (#2626) 2020-10-29 06:12:14 -07:00
test_callbacks.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_chrono.cpp
test_chrono.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_class.cpp Fix various minor memory leaks in the tests (found by Valgrind in #2746) (#2758) 2021-01-01 17:05:22 +01: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_constants_and_functions.cpp
test_constants_and_functions.py
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
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 style: clang-tidy: modernize-use-using (#2645) 2020-11-09 10:10:19 -08:00
test_eigen.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_enum.cpp
test_enum.py enum: add missing Enum.value property (#2739) 2020-12-31 11:08:15 -05:00
test_eval_call.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04: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_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 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_factory_constructors.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_gil_scoped.cpp
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
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 fix: Reject keyword argument None with .none(false) (#2611) 2020-10-20 23:57:22 +02:00
test_methods_and_attributes.py Allow NULL value in pybind11_meta_setattro (#2629) 2020-11-05 23:54:37 +01:00
test_modules.cpp
test_modules.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_multiple_inheritance.cpp
test_multiple_inheritance.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_numpy_array.cpp style: ssize_t -> py::ssize_t 2020-10-15 17:38:49 -04: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
test_opaque_types.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_operator_overloading.cpp
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: also throw in the move-constructor added by the PYBIND11_OBJECT macro, after the argument has been moved-out (if necessary) (#2701) 2020-12-15 23:22:53 -05:00
test_pytypes.py fix: also throw in the move-constructor added by the PYBIND11_OBJECT macro, after the argument has been moved-out (if necessary) (#2701) 2020-12-15 23:22:53 -05: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 Fix various minor memory leaks in the tests (found by Valgrind in #2746) (#2758) 2021-01-01 17:05:22 +01:00
test_smart_ptr.py 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.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_stl.cpp
test_stl.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_tagbased_polymorphic.cpp
test_tagbased_polymorphic.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_union.cpp
test_union.py
test_virtual_functions.cpp
test_virtual_functions.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00