[Python-checkins] Fix typo in Lib/idlelib/idle_test/test_parenmatch.py (GH-93332) (#93340)

terryjreedy webhook-mailer at python.org
Sun May 29 23:03:19 EDT 2022


https://github.com/python/cpython/commit/372afb7a9b1fff2fcc724f999744b6126f0f6e07
commit: 372afb7a9b1fff2fcc724f999744b6126f0f6e07
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: terryjreedy <tjreedy at udel.edu>
date: 2022-05-29T23:03:11-04:00
summary:

Fix typo in Lib/idlelib/idle_test/test_parenmatch.py (GH-93332) (#93340)

Co-authored-by: Terry Jan Reedy <tjreedy at udel.edu>
(cherry picked from commit 4f195f9db168bfe3360607eb45ba8d9ac98506ec)

Co-authored-by: luzpaz <luzpaz at users.noreply.github.com>

files:
M Lib/idlelib/idle_test/test_parenmatch.py

diff --git a/Lib/idlelib/idle_test/test_parenmatch.py b/Lib/idlelib/idle_test/test_parenmatch.py
index 4a41d8433d548..2e10d7cd36760 100644
--- a/Lib/idlelib/idle_test/test_parenmatch.py
+++ b/Lib/idlelib/idle_test/test_parenmatch.py
@@ -83,12 +83,12 @@ def test_paren_corner(self):
         """
         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')



More information about the Python-checkins mailing list