(self, **options)
| 30 | return result # hook |
| 31 | |
| 32 | def show(self, **options): |
| 33 | |
| 34 | # update instance options |
| 35 | for k, v in options.items(): |
| 36 | self.options[k] = v |
| 37 | |
| 38 | self._fixoptions() |
| 39 | |
| 40 | master = self.master |
| 41 | if master is None: |
| 42 | master = _get_temp_root() |
| 43 | try: |
| 44 | self._test_callback(master) # The function below is replaced for some tests. |
| 45 | s = master.tk.call(self.command, *master._options(self.options)) |
| 46 | s = self._fixresult(master, s) |
| 47 | finally: |
| 48 | _destroy_temp_root(master) |
| 49 | |
| 50 | return s |
| 51 | |
| 52 | def _test_callback(self, master): |
| 53 | pass |
no test coverage detected