Skip to content

Commit 3899dc6

Browse files
authored
Documenting missing unit test coverage. (#3673)
1 parent 0f6ad91 commit 3899dc6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/pybind11/pybind11.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -991,6 +991,7 @@ class cpp_function : public function {
991991
#if PY_VERSION_HEX >= 0x03030000
992992
// Attach additional error info to the exception if supported
993993
if (PyErr_Occurred()) {
994+
// #HelpAppreciated: unit test coverage for this branch.
994995
raise_from(PyExc_TypeError, msg.c_str());
995996
return nullptr;
996997
}

0 commit comments

Comments
 (0)