pybind11/tests
Dean Moldovan a0c1ccf0a9 Port tests to pytest
Use simple asserts and pytest's powerful introspection to make testing
simpler. This merges the old .py/.ref file pairs into simple .py files
where the expected values are right next to the code being tested.

This commit does not touch the C++ part of the code and replicates the
Python tests exactly like the old .ref-file-based approach.
2016-08-19 13:19:38 +02:00
..
CMakeLists.txt Port tests to pytest 2016-08-19 13:19:38 +02:00
conftest.py Port tests to pytest 2016-08-19 13:19:38 +02:00
constructor_stats.h Port tests to pytest 2016-08-19 13:19:38 +02:00
object.h Port tests to pytest 2016-08-19 13:19:38 +02:00
pybind11_tests.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
pybind11_tests.h Port tests to pytest 2016-08-19 13:19:38 +02:00
test_buffers.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_buffers.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_callbacks.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_callbacks.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_constants_and_functions.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_constants_and_functions.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_eigen.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_eigen.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_eval.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_eval.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_eval_call.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_exceptions.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_exceptions.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_inheritance.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_inheritance.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_issues.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_issues.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_keep_alive.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_keep_alive.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_kwargs_and_defaults.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_kwargs_and_defaults.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_methods_and_attributes.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_methods_and_attributes.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_modules.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_modules.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_numpy_dtypes.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_numpy_dtypes.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_numpy_vectorize.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_numpy_vectorize.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_opaque_types.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_opaque_types.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_operator_overloading.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_operator_overloading.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_pickling.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_pickling.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_python_types.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_python_types.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_sequences_and_iterators.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_sequences_and_iterators.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_smart_ptr.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_smart_ptr.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_stl_binders.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_stl_binders.py Port tests to pytest 2016-08-19 13:19:38 +02:00
test_virtual_functions.cpp Port tests to pytest 2016-08-19 13:19:38 +02:00
test_virtual_functions.py Port tests to pytest 2016-08-19 13:19:38 +02:00