| 36 | |
| 37 | |
| 38 | class DummyEditwin: |
| 39 | def __init__(self, root, frame, text): |
| 40 | self.root = root |
| 41 | self.top = root |
| 42 | self.text_frame = frame |
| 43 | self.text = text |
| 44 | self.label = '' |
| 45 | |
| 46 | def getlineno(self, index): |
| 47 | return int(float(self.text.index(index))) |
| 48 | |
| 49 | def update_menu_label(self, **kwargs): |
| 50 | self.label = kwargs['label'] |
| 51 | |
| 52 | |
| 53 | class CodeContextTest(unittest.TestCase): |
no outgoing calls
searching dependent graphs…