File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -60,15 +60,15 @@ class Args : public py::args {};
6060
6161} // namespace test_class
6262
63- static_assert (!py::detail::is_same_or_base_of<
64- py::args,
65- test_class::pr5396_forward_declared_class::ForwardClass>::value,
66- " ForwardClass is not the same or base of py::args." );
67- static_assert (py::detail::is_same_or_base_of<py::args, py::args>::value, " py::args is py::args." );
63+ static_assert (py::detail::is_same_or_base_of<py::args, py::args>::value, " " );
6864static_assert (
6965 py::detail::is_same_or_base_of<py::args,
7066 test_class::pr5396_forward_declared_class::Args>::value,
71- " Args is subclass of py::args." );
67+ " " );
68+ static_assert (!py::detail::is_same_or_base_of<
69+ py::args,
70+ test_class::pr5396_forward_declared_class::ForwardClass>::value,
71+ " " );
7272
7373TEST_SUBMODULE (class_, m) {
7474 m.def (" obj_class_name" , [](py::handle obj) { return py::detail::obj_class_name (obj.ptr ()); });
You can’t perform that action at this time.
0 commit comments