mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Stop test_tcl's testLoadTk from leaking the Tk commands 'loadtk' registers.
This commit is contained in:
parent
03f76cfbf3
commit
a6c67b56b2
1 changed files with 1 additions and 0 deletions
|
|
@ -124,6 +124,7 @@ class TclTest(unittest.TestCase):
|
|||
self.assertRaises(TclError,tcl.winfo_geometry)
|
||||
tcl.loadtk()
|
||||
self.assertEqual('1x1+0+0', tcl.winfo_geometry())
|
||||
tcl.destroy()
|
||||
|
||||
def testLoadTkFailure(self):
|
||||
import os
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue