Skip to content

Commit

Permalink
Documenting missing unit test coverage. (#3673)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralf W. Grosse-Kunstleve authored Feb 2, 2022
1 parent 0f6ad91 commit 3899dc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/pybind11/pybind11.h
Original file line number Diff line number Diff line change
Expand Up @@ -991,6 +991,7 @@ class cpp_function : public function {
#if PY_VERSION_HEX >= 0x03030000
// Attach additional error info to the exception if supported
if (PyErr_Occurred()) {
// #HelpAppreciated: unit test coverage for this branch.
raise_from(PyExc_TypeError, msg.c_str());
return nullptr;
}
Expand Down

0 comments on commit 3899dc6

Please sign in to comment.