(dialog, master)
| 44 | |
| 45 | def test_askcolor(self): |
| 46 | def test_callback(dialog, master): |
| 47 | nonlocal ismapped |
| 48 | master.update() |
| 49 | ismapped = master.winfo_ismapped() |
| 50 | raise ZeroDivisionError |
| 51 | |
| 52 | with swap_attr(Dialog, '_test_callback', test_callback): |
| 53 | ismapped = None |
nothing calls this directly
no test coverage detected