(info_add)
| 437 | |
| 438 | |
| 439 | def collect_tkinter(info_add): |
| 440 | try: |
| 441 | import _tkinter |
| 442 | except ImportError: |
| 443 | pass |
| 444 | else: |
| 445 | attributes = ('TK_VERSION', 'TCL_VERSION') |
| 446 | copy_attributes(info_add, _tkinter, 'tkinter.%s', attributes) |
| 447 | |
| 448 | try: |
| 449 | import tkinter |
| 450 | except ImportError: |
| 451 | pass |
| 452 | else: |
| 453 | tcl = tkinter.Tcl() |
| 454 | patchlevel = tcl.call('info', 'patchlevel') |
| 455 | info_add('tkinter.info_patchlevel', patchlevel) |
| 456 | |
| 457 | |
| 458 | def collect_time(info_add): |
nothing calls this directly
no test coverage detected