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

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
luzpaz 2022-05-29 21:41:59 -04:00 committed by GitHub
parent 61e008a4ab
commit 4f195f9db1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,12 +83,12 @@ class ParenMatchTest(unittest.TestCase):
""" """
Test corner cases in flash_paren_event and paren_closed_event. 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 text = self.text
pm = self.get_parenmatch() pm = self.get_parenmatch()
text.insert('insert', '# this is a commen)') text.insert('insert', '# Comment.)')
pm.paren_closed_event('event') pm.paren_closed_event('event')
text.insert('insert', '\ndef') text.insert('insert', '\ndef')