summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-05-17 22:35:07 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2016-05-17 22:35:07 (GMT)
commitc359af153039fa6c2fadd5b88c4eb0db325692c8 (patch)
treee09cec2050c869588ff6f4a0299509be19d2f535
parentb236fe45150ed41e5e052537dc6a213286b9d967 (diff)
downloadcpython-c359af153039fa6c2fadd5b88c4eb0db325692c8.zip
cpython-c359af153039fa6c2fadd5b88c4eb0db325692c8.tar.gz
cpython-c359af153039fa6c2fadd5b88c4eb0db325692c8.tar.bz2
Issue #18410: add missing parent argument.
-rw-r--r--Lib/idlelib/idle_test/test_searchdialog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/idle_test/test_searchdialog.py b/Lib/idlelib/idle_test/test_searchdialog.py
index 1c06e6c..190c866 100644
--- a/Lib/idlelib/idle_test/test_searchdialog.py
+++ b/Lib/idlelib/idle_test/test_searchdialog.py
@@ -29,7 +29,7 @@ class SearchDialogTest(unittest.TestCase):
def setUp(self):
self.engine = se.SearchEngine(self.root)
self.dialog = sd.SearchDialog(self.root, self.engine)
- self.text = tk.Text()
+ self.text = tk.Text(self.root)
self.text.insert('1.0', 'Hello World!')
def test_find_again(self):