mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
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:
parent
e1d8c65e1d
commit
8316769d83
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user