gh-110805: Fix test_peg_generator after the change in the parser for REPL tracebacks (#110814)

Fix test_peg_generator after the change in the parser for REPL tracebacks
This commit is contained in:
Pablo Galindo Salgado 2023-10-13 13:04:23 +02:00 committed by GitHub
parent e1d8c65e1d
commit 8316769d83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ parse_file(PyObject *self, PyObject *args, PyObject *kwds)
PyCompilerFlags flags = _PyCompilerFlags_INIT;
mod_ty res = _PyPegen_run_parser_from_file_pointer(
fp, Py_file_input, filename_ob,
NULL, NULL, NULL, &flags, NULL, arena);
NULL, NULL, NULL, &flags, NULL, NULL, arena);
fclose(fp);
if (res == NULL) {
goto error;