Commit d6c3163e authored by Terry Jan Reedy's avatar Terry Jan Reedy

Issue #18592: Make unittest for SearchDialogBase work on all tk versions.

parent 47619345
...@@ -80,10 +80,10 @@ class SearchDialogBaseTest(unittest.TestCase): ...@@ -80,10 +80,10 @@ class SearchDialogBaseTest(unittest.TestCase):
self.assertIn(entry.get(), 'hello') self.assertIn(entry.get(), 'hello')
egi = entry.grid_info() egi = entry.grid_info()
equal(egi['row'], '0') equal(int(egi['row']), 0)
equal(egi['column'], '1') equal(int(egi['column']), 1)
equal(egi['rowspan'], '1') equal(int(egi['rowspan']), 1)
equal(egi['columnspan'], '1') equal(int(egi['columnspan']), 1)
equal(self.dialog.row, 1) equal(self.dialog.row, 1)
def test_create_entries(self): def test_create_entries(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment