Skip to content

Commit

Permalink
skip typevar for now
Browse files Browse the repository at this point in the history
  • Loading branch information
InvincibleRMC committed Jul 26, 2024
1 parent 479dffd commit d1dc670
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_pytypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -924,13 +924,13 @@ TEST_SUBMODULE(pytypes, m) {
m.attr("defined_PYBIND11_TYPING_H_HAS_STRING_LITERAL") = false;
#endif

struct TypeVarObject {};
py::class_<TypeVarObject>(m, "TypeVarObject").type_params()
= py::make_tuple(py::typing::TypeVarObject<>("T"));
// struct TypeVarObject {};
// py::class_<TypeVarObject>(m, "TypeVarObject").type_params()
// = py::make_tuple(py::typing::TypeVarObject<>("T"));

struct TypeVarObjectBound {};
py::class_<TypeVarObjectBound>(m, "TypeVarObjectBound").type_params()
= py::make_tuple(py::typing::TypeVarObject<int>("T"));
// struct TypeVarObjectBound {};
// py::class_<TypeVarObjectBound>(m, "TypeVarObjectBound").type_params()
// = py::make_tuple(py::typing::TypeVarObject<int>("T"));

struct ParamSpec {};
py::class_<ParamSpec>(m, "ParamSpec").type_params()
Expand Down

0 comments on commit d1dc670

Please sign in to comment.