Documenting missing unit test coverage. (#3673)

This commit is contained in:
Ralf W. Grosse-Kunstleve 2022-02-02 13:16:44 -08:00 committed by GitHub
parent 0f6ad9105c
commit 3899dc65b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -991,6 +991,7 @@ protected:
#if PY_VERSION_HEX >= 0x03030000 #if PY_VERSION_HEX >= 0x03030000
// Attach additional error info to the exception if supported // Attach additional error info to the exception if supported
if (PyErr_Occurred()) { if (PyErr_Occurred()) {
// #HelpAppreciated: unit test coverage for this branch.
raise_from(PyExc_TypeError, msg.c_str()); raise_from(PyExc_TypeError, msg.c_str());
return nullptr; return nullptr;
} }