diff --git a/test/implicit.cpp b/test/implicit.cpp index 2b017fb4..50479158 100644 --- a/test/implicit.cpp +++ b/test/implicit.cpp @@ -8,13 +8,9 @@ #include #include "test_class.hpp" -// This test shows that a class can be wrapped "as itself" but also -// acquire a back-reference iff has_back_reference<> is appropriately -// specialized. using namespace boost::python; typedef test_class<> X; -typedef test_class<1> Y; int x_value(X const& x) { @@ -35,12 +31,6 @@ BOOST_PYTHON_MODULE_INIT(implicit_ext) .def("value", &X::value) .def("set", &X::set) ) - .add( - class_("Y") - .def_init(args()) - .def("value", &Y::value) - .def("set", &Y::set) - ) ; implicitly_convertible(); }