Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add new coverage and generate TokenError.
  • Loading branch information
terryjreedy committed May 22, 2023
commit 1338a2a10e553de16914334072dab3c56c964275
3 changes: 2 additions & 1 deletion Lib/idlelib/idle_test/test_editor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Test editor, coverage 35%."
"Test editor, coverage 53%."

from idlelib import editor
import unittest
Expand Down Expand Up @@ -200,6 +200,7 @@ def test_searcher(self):
searcher = (self.text)
test_info = (# text, (block, indent))
("", (None, None)),
("[1,", (None, None)), # TokenError
("if 1:\n", ('if 1:\n', None)),
("if 1:\n 2\n 3\n", ('if 1:\n', ' 2\n')),
)
Expand Down