summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-07-11 04:37:14 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-07-11 04:37:14 (GMT)
commit3740d589f7e1737da480b2730161cb835b8dd55c (patch)
tree9d1f7d4f767e93d0cddf2f0dff9032cca2b6dbb0
parentbe254265ff7fad80b5c091f6a93474105736aaed (diff)
downloadcpython-3740d589f7e1737da480b2730161cb835b8dd55c.zip
cpython-3740d589f7e1737da480b2730161cb835b8dd55c.tar.gz
cpython-3740d589f7e1737da480b2730161cb835b8dd55c.tar.bz2
Issue #18592: Make unittest for SearchDialogBase work on all tk versions.
-rw-r--r--Lib/idlelib/idle_test/test_searchdialogbase.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/idlelib/idle_test/test_searchdialogbase.py b/Lib/idlelib/idle_test/test_searchdialogbase.py
index 977a22d..e918399 100644
--- a/Lib/idlelib/idle_test/test_searchdialogbase.py
+++ b/Lib/idlelib/idle_test/test_searchdialogbase.py
@@ -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):