(self)
| 12 | |
| 13 | @unittest.skipIf('DISPLAY' not in os.environ, 'No $DISPLAY set.') |
| 14 | def testLoadTk(self): |
| 15 | tcl = Tcl() |
| 16 | self.assertRaises(TclError,tcl.winfo_geometry) |
| 17 | tcl.loadtk() |
| 18 | self.assertEqual('1x1+0+0', tcl.winfo_geometry()) |
| 19 | tcl.destroy() |
| 20 | |
| 21 | def testLoadTkFailure(self): |
| 22 | old_display = None |
nothing calls this directly
no test coverage detected