File tree 1 file changed +0
-9
lines changed
1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,6 @@ static struct PyModuleDef *_testcapimodule = NULL; // set at initialization
5
5
6
6
/* Tests for heap types (PyType_From*) */
7
7
8
- static PyType_Spec HeapCTypeWithNegativeDict_spec ;
9
-
10
- static PyObject *
11
- negative_dictoffset (PyObject * self , PyObject * Py_UNUSED (ignored ))
12
- {
13
- return PyType_FromSpec (& HeapCTypeWithNegativeDict_spec );
14
- }
15
-
16
8
static PyObject * pytype_fromspec_meta (PyObject * self , PyObject * meta )
17
9
{
18
10
if (!PyType_Check (meta )) {
@@ -375,7 +367,6 @@ create_type_from_repeated_slots(PyObject *self, PyObject *variant_obj)
375
367
376
368
static PyMethodDef TestMethods [] = {
377
369
{"pytype_fromspec_meta" , pytype_fromspec_meta , METH_O },
378
- {"negative_dictoffset" , negative_dictoffset , METH_NOARGS },
379
370
{"test_type_from_ephemeral_spec" , test_type_from_ephemeral_spec , METH_NOARGS },
380
371
{"create_type_from_repeated_slots" ,
381
372
create_type_from_repeated_slots , METH_O },
You can’t perform that action at this time.
0 commit comments