mirror of
https://github.com/boostorg/python.git
synced 2026-01-24 18:12:43 +00:00
Fully removed convertible() test from to_python converter protocol
Added tests for detecting unregistered classes when converting indirectly to python. [SVN r16396]
This commit is contained in:
@@ -43,14 +43,6 @@ namespace detail
|
||||
(converters.to_python(source))
|
||||
{
|
||||
}
|
||||
|
||||
BOOST_PYTHON_DECL void throw_no_class_registered()
|
||||
{
|
||||
PyErr_SetString(
|
||||
PyExc_TypeError
|
||||
, const_cast<char*>("class not registered for to_python type"));
|
||||
throw_error_already_set();
|
||||
}
|
||||
}
|
||||
|
||||
}}} // namespace boost::python::converter
|
||||
|
||||
Reference in New Issue
Block a user