mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Issue #26177: Fixed the keys() method for Canvas and Scrollbar widgets.
Added few missed tests for configure options.
This commit is contained in:
parent
0554d83f0f
commit
42a4366ad5
6 changed files with 183 additions and 138 deletions
|
@ -12,6 +12,8 @@ requires('gui')
|
|||
|
||||
class PackTest(AbstractWidgetTest, unittest.TestCase):
|
||||
|
||||
test_keys = None
|
||||
|
||||
def create2(self):
|
||||
pack = tkinter.Toplevel(self.root, name='pack')
|
||||
pack.wm_geometry('300x200+0+0')
|
||||
|
@ -276,6 +278,8 @@ class PackTest(AbstractWidgetTest, unittest.TestCase):
|
|||
|
||||
class PlaceTest(AbstractWidgetTest, unittest.TestCase):
|
||||
|
||||
test_keys = None
|
||||
|
||||
def create2(self):
|
||||
t = tkinter.Toplevel(self.root, width=300, height=200, bd=0)
|
||||
t.wm_geometry('300x200+0+0')
|
||||
|
@ -478,6 +482,8 @@ class PlaceTest(AbstractWidgetTest, unittest.TestCase):
|
|||
|
||||
class GridTest(AbstractWidgetTest, unittest.TestCase):
|
||||
|
||||
test_keys = None
|
||||
|
||||
def tearDown(self):
|
||||
cols, rows = self.root.grid_size()
|
||||
for i in range(cols + 1):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue