Searched refs:structseq_type (Results 1 – 1 of 1) sorted by relevance
3873 PyTypeObject* structseq_type = PyStructSequence_NewType(&descr); in test_structseq_newtype_doesnt_leak() local3874 assert(structseq_type != NULL); in test_structseq_newtype_doesnt_leak()3875 assert(PyType_Check(structseq_type)); in test_structseq_newtype_doesnt_leak()3876 assert(PyType_FastSubclass(structseq_type, Py_TPFLAGS_TUPLE_SUBCLASS)); in test_structseq_newtype_doesnt_leak()3877 Py_DECREF(structseq_type); in test_structseq_newtype_doesnt_leak()3892 PyTypeObject* structseq_type = PyStructSequence_NewType(&descr); in test_structseq_newtype_null_descr_doc() local3893 assert(structseq_type != NULL); in test_structseq_newtype_null_descr_doc()3894 assert(PyType_Check(structseq_type)); in test_structseq_newtype_null_descr_doc()3895 assert(PyType_FastSubclass(structseq_type, Py_TPFLAGS_TUPLE_SUBCLASS)); in test_structseq_newtype_null_descr_doc()3896 Py_DECREF(structseq_type); in test_structseq_newtype_null_descr_doc()