| 175 | } |
| 176 | |
| 177 | std::string FormatPythonException(const std::string& exc_class_name, |
| 178 | const std::string& exc_value) { |
| 179 | std::stringstream ss; |
| 180 | ss << "Python exception: "; |
| 181 | ss << exc_class_name; |
| 182 | ss << ": "; |
| 183 | ss << exc_value; |
| 184 | ss << "\n"; |
| 185 | return ss.str(); |
| 186 | } |
| 187 | |
| 188 | Status TestCheckPyErrorStatus() { |
| 189 | Status st; |
no test coverage detected