diff --git a/tests/test_pytypes.cpp b/tests/test_pytypes.cpp index 3ca418bfd..9c480be1e 100644 --- a/tests/test_pytypes.cpp +++ b/tests/test_pytypes.cpp @@ -924,13 +924,13 @@ TEST_SUBMODULE(pytypes, m) { m.attr("defined_PYBIND11_TYPING_H_HAS_STRING_LITERAL") = false; #endif - struct TypeVarObject {}; - py::class_(m, "TypeVarObject").type_params() - = py::make_tuple(py::typing::TypeVarObject<>("T")); + // struct TypeVarObject {}; + // py::class_(m, "TypeVarObject").type_params() + // = py::make_tuple(py::typing::TypeVarObject<>("T")); - struct TypeVarObjectBound {}; - py::class_(m, "TypeVarObjectBound").type_params() - = py::make_tuple(py::typing::TypeVarObject("T")); + // struct TypeVarObjectBound {}; + // py::class_(m, "TypeVarObjectBound").type_params() + // = py::make_tuple(py::typing::TypeVarObject("T")); struct ParamSpec {}; py::class_(m, "ParamSpec").type_params()