From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 5 Sep 2023 06:41:15 +0000 (-0700) Subject: [3.11] gh-89392: Fix running test_pep646_syntax as script (GH-108875) (GH-108877) X-Git-Tag: v3.11.6~145 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=562c1688565643bad13477610d6f8825fec0698c;p=thirdparty%2FPython%2Fcpython.git [3.11] gh-89392: Fix running test_pep646_syntax as script (GH-108875) (GH-108877) (cherry picked from commit f3b6608ba2b1db6ac449f656bf439bda8d66eb9f) Co-authored-by: Serhiy Storchaka --- diff --git a/Lib/test/test_pep646_syntax.py b/Lib/test/test_pep646_syntax.py index def313da89ac..aac089b190bc 100644 --- a/Lib/test/test_pep646_syntax.py +++ b/Lib/test/test_pep646_syntax.py @@ -1,4 +1,5 @@ import doctest +import unittest doctests = """