| 7 | from idlelib.editor import EditorWindow |
| 8 | |
| 9 | class DummyEditwin: |
| 10 | def __init__(self, text): |
| 11 | self.text = text |
| 12 | self.indentwidth = 8 |
| 13 | self.tabwidth = 8 |
| 14 | self.prompt_last_line = '>>>' |
| 15 | self.num_context_lines = 50, 500, 1000 |
| 16 | |
| 17 | _build_char_in_string_func = EditorWindow._build_char_in_string_func |
| 18 | is_char_in_string = EditorWindow.is_char_in_string |
| 19 | |
| 20 | |
| 21 | class HyperParserTest(unittest.TestCase): |
no outgoing calls
searching dependent graphs…