Various changes.

This commit is contained in:
Ralf W. Grosse-Kunstleve
2022-05-11 02:35:01 -07:00
parent acdf332cda
commit 58ad49b05e
5 changed files with 35 additions and 35 deletions

View File

@@ -230,8 +230,8 @@ TEST_SUBMODULE(exceptions, m) {
if ((err && e.what() != std::string("ValueError: foo"))
|| (!err
&& e.what()
!= std::string("Internal error: error_string() called without a Python "
"error available."))) {
!= std::string("Internal error: pybind11::detail::error_already_set "
"called while Python error indicator not set."))) {
PyErr_Clear();
throw std::runtime_error("error message mismatch");
}