]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in Lib/idlelib/idle_test/test_parenmatch.py (GH-93332) (#93339)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 30 May 2022 03:02:23 +0000 (20:02 -0700)
committerGitHub <noreply@github.com>
Mon, 30 May 2022 03:02:23 +0000 (23:02 -0400)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 4f195f9db168bfe3360607eb45ba8d9ac98506ec)

Co-authored-by: luzpaz <luzpaz@users.noreply.github.com>
Lib/idlelib/idle_test/test_parenmatch.py

index 4a41d8433d548368d333451d69bdc734ac85cab4..2e10d7cd36760ff66f33c4b22ab62e5ac3f7d46c 100644 (file)
@@ -83,12 +83,12 @@ class ParenMatchTest(unittest.TestCase):
         """
         Test corner cases in flash_paren_event and paren_closed_event.
 
-        These cases force conditional expression and alternate paths.
+        Force execution of conditional expressions and alternate paths.
         """
         text = self.text
         pm = self.get_parenmatch()
 
-        text.insert('insert', '# this is a commen)')
+        text.insert('insert', '# Comment.)')
         pm.paren_closed_event('event')
 
         text.insert('insert', '\ndef')