test_pytypes.cpp
11.9 KB
-
Add check if `str(handle)` correctly converted the object, and throw… · fe9ee86b
Add check if `str(handle)` correctly converted the object, and throw py::error_already_set if not (bis) (#2477) * Add check if `str(handle)` correctly converted the object, and throw py::error_already_set if not * Fix tests on Python 3 * Apply @rwgk's fixes to cherry-picked commits from #2392
Yannick Jadoul committed