From 3899dc65b91f189f9ac03f2f9ec7d9c25b76134b Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Wed, 2 Feb 2022 13:16:44 -0800 Subject: [PATCH] Documenting missing unit test coverage. (#3673) --- include/pybind11/pybind11.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/pybind11/pybind11.h b/include/pybind11/pybind11.h index ede35e186..7aa93bb5a 100644 --- a/include/pybind11/pybind11.h +++ b/include/pybind11/pybind11.h @@ -991,6 +991,7 @@ protected: #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; }