Python code coverage for Lib/test/test_tk.py
# | count | content |
---|---|---|
1 | n/a | from test import support |
2 | n/a | # Skip test if _tkinter wasn't built. |
3 | n/a | support.import_module('_tkinter') |
4 | n/a | |
5 | n/a | # Skip test if tk cannot be initialized. |
6 | n/a | support.requires('gui') |
7 | n/a | |
8 | n/a | from tkinter.test import runtktests |
9 | n/a | |
10 | n/a | def test_main(): |
11 | n/a | support.run_unittest( |
12 | n/a | *runtktests.get_tests(text=False, packages=['test_tkinter'])) |
13 | n/a | |
14 | n/a | if __name__ == '__main__': |
15 | n/a | test_main() |