Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Lib/idlelib/idle_test/test_editmenu.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ def setUpClass(cls):
cls.entry = tk.Entry(root)
cls.tentry = ttk.Entry(root)
cls.spin = tk.Spinbox(root)
# Generated events are not delivered to widgets whose window
# does not exist yet.
for widget in cls.text, cls.entry, cls.tentry, cls.spin:
widget.winfo_id()
root.clipboard_clear()
root.clipboard_append('two')

Expand Down
5 changes: 0 additions & 5 deletions Lib/test/test_tkinter/test_font.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,6 @@ def test_equality(self):
self.assertEqual(w1, w2)
w3 = font.Font(root=self.root, font=('Times', 12), exists=True)
self.assertNotEqual(w1, w3)
# A wrapped description never equals a named font, even one whose name
# is the string form of the description.
named = font.Font(root=self.root, name=str(w1), family='Courier')
self.assertNotEqual(w1, named)
self.assertNotEqual(named, w1)

self.assertNotEqual(font1, 0)
self.assertEqual(font1, ALWAYS_EQ)
Expand Down
Loading