Searched refs:structseq_type (Results 1 – 1 of 1) sorted by relevance
4048 PyTypeObject* structseq_type = PyStructSequence_NewType(&descr); in test_structseq_newtype_doesnt_leak() local4049 assert(structseq_type != NULL); in test_structseq_newtype_doesnt_leak()4050 assert(PyType_Check(structseq_type)); in test_structseq_newtype_doesnt_leak()4051 assert(PyType_FastSubclass(structseq_type, Py_TPFLAGS_TUPLE_SUBCLASS)); in test_structseq_newtype_doesnt_leak()4052 Py_DECREF(structseq_type); in test_structseq_newtype_doesnt_leak()4067 PyTypeObject* structseq_type = PyStructSequence_NewType(&descr); in test_structseq_newtype_null_descr_doc() local4068 assert(structseq_type != NULL); in test_structseq_newtype_null_descr_doc()4069 assert(PyType_Check(structseq_type)); in test_structseq_newtype_null_descr_doc()4070 assert(PyType_FastSubclass(structseq_type, Py_TPFLAGS_TUPLE_SUBCLASS)); in test_structseq_newtype_null_descr_doc()4071 Py_DECREF(structseq_type); in test_structseq_newtype_null_descr_doc()