Coverage for util.py: 50%
4 statements
« prev ^ index » next coverage.py v7.2.5, created at 2023-05-11 13:22 -0700
« prev ^ index » next coverage.py v7.2.5, created at 2023-05-11 13:22 -0700
1"""
2Idlelib objects with no external idlelib dependencies
3which are needed in more than one idlelib module.
5They are included here because
6 a) they don't particularly belong elsewhere; or
7 b) because inclusion here simplifies the idlelib dependency graph.
9TODO:
10 * Python versions (editor and help_about),
11 * tk version and patchlevel (pyshell, help_about, maxos?, editor?),
12 * std streams (pyshell, run),
13 * warning stuff (pyshell, run).
14"""
16# .pyw is for Windows; .pyi is for stub files.
17py_extensions = ('.py', '.pyw', '.pyi') # Order needed for open/save dialogs.
19if __name__ == '__main__': 19 ↛ 20line 19 didn't jump to line 20, because the condition on line 19 was never true
20 from unittest import main
21 main('idlelib.idle_test.test_util', verbosity=2)