mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-104719: IDLE - test existence of all tokenize references. (#104767)
Class editor.IndentSearcher contains all editor references to tokenize module. Module io tokenize reference cover those other modules. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
parent
426950993f
commit
e561c09975
5 changed files with 54 additions and 12 deletions
|
@ -8,6 +8,12 @@ from idlelib.editor import EditorWindow
|
|||
from idlelib import util
|
||||
from idlelib.idle_test.mock_idle import Func
|
||||
|
||||
# Fail if either tokenize.open and t.detect_encoding does not exist.
|
||||
# These are used in loadfile and encode.
|
||||
# Also used in pyshell.MI.execfile and runscript.tabnanny.
|
||||
from tokenize import open, detect_encoding
|
||||
# Remove when we have proper tests that use both.
|
||||
|
||||
|
||||
class IOBindingTest(unittest.TestCase):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue