diff options
| author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2021-11-24 18:30:03 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-24 18:30:03 +0000 |
| commit | abfc794bbf2c6a0939ddd81b6e700c46944ba87a (patch) | |
| tree | c82ad4145f5b3b067eb346efa641cd993cbba905 /Modules | |
| parent | b30bf4520ae9d6e7eca09d812dd8a86c020b9202 (diff) | |
| download | cpython-git-abfc794bbf2c6a0939ddd81b6e700c46944ba87a.tar.gz | |
bpo-45822: Minor cleanups to the test_Py_CompileString test (GH-29750)
Diffstat (limited to 'Modules')
| -rw-r--r-- | Modules/_testcapimodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index c9ba148973..0216c98541 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -391,7 +391,7 @@ pycompilestring(PyObject* self, PyObject *obj) { if (the_string == NULL) { return NULL; } - return Py_CompileString(the_string, "blech", Py_file_input); + return Py_CompileString(the_string, "<string>", Py_file_input); } static PyObject* |
