Skip to content

Commit a6bb723

Browse files
jbower-fbfacebook-github-bot
authored andcommitted
Add patch 'remove-gentype-from-test'
Summary: This diff adds a patch to the `3.14` Meta-internal fork. Removes explicit reference to PyGen_Type in a test so CinerX's JIT generators will also work Reviewed By: itamaro Differential Revision: D83307766 fbshipit-source-id: 6f36988ab9df34ba8c2718087f58f6b422fa9e37
1 parent e902a7d commit a6bb723

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Modules/_testcapimodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,9 +1584,9 @@ getitem_with_error(PyObject *self, PyObject *args)
15841584
static PyObject *
15851585
raise_SIGINT_then_send_None(PyObject *self, PyObject *args)
15861586
{
1587-
PyGenObject *gen;
1587+
PyObject *gen;
15881588

1589-
if (!PyArg_ParseTuple(args, "O!", &PyGen_Type, &gen))
1589+
if (!PyArg_ParseTuple(args, "O", &gen))
15901590
return NULL;
15911591

15921592
/* This is used in a test to check what happens if a signal arrives just

0 commit comments

Comments
 (0)