From d3a2fcab4ec4e69506837d1cf57d1a26d646d280 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Mon, 1 May 2023 19:49:06 +0100 Subject: [PATCH] delete news entry --- Lib/test/test_fstring.py | 1 + .../2023-05-01-16-35-02.gh-issue-104016.CjjY_3.rst | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2023-05-01-16-35-02.gh-issue-104016.CjjY_3.rst diff --git a/Lib/test/test_fstring.py b/Lib/test/test_fstring.py index 44d12b6ee48b8f..5c5176dc54a6d9 100644 --- a/Lib/test/test_fstring.py +++ b/Lib/test/test_fstring.py @@ -1371,6 +1371,7 @@ def test_filename_in_syntaxerror(self): # see issue 38964 with temp_cwd() as cwd: file_path = os.path.join(cwd, 't.py') + with open(file_path, 'w', encoding="utf-8") as f: f.write('f"{a b}"') # This generates a SyntaxError _, _, stderr = assert_python_failure(file_path, PYTHONIOENCODING='ascii') diff --git a/Misc/NEWS.d/next/Core and Builtins/2023-05-01-16-35-02.gh-issue-104016.CjjY_3.rst b/Misc/NEWS.d/next/Core and Builtins/2023-05-01-16-35-02.gh-issue-104016.CjjY_3.rst deleted file mode 100644 index 5e721564f0cb42..00000000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2023-05-01-16-35-02.gh-issue-104016.CjjY_3.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed off-by-1 error in f-string tokenizer.