mirror of
https://github.com/python/cpython.git
synced 2024-12-15 04:44:47 +08:00
Issue #18592: Make unittest for SearchDialogBase work on all tk versions.
This commit is contained in:
parent
be254265ff
commit
3740d589f7
@ -80,10 +80,10 @@ class SearchDialogBaseTest(unittest.TestCase):
|
||||
|
||||
self.assertIn(entry.get(), 'hello')
|
||||
egi = entry.grid_info()
|
||||
equal(egi['row'], 0)
|
||||
equal(egi['column'], 1)
|
||||
equal(egi['rowspan'], 1)
|
||||
equal(egi['columnspan'], 1)
|
||||
equal(int(egi['row']), 0)
|
||||
equal(int(egi['column']), 1)
|
||||
equal(int(egi['rowspan']), 1)
|
||||
equal(int(egi['columnspan']), 1)
|
||||
equal(self.dialog.row, 1)
|
||||
|
||||
def test_create_entries(self):
|
||||
|
Loading…
Reference in New Issue
Block a user