Skip to content

Commit

Permalink
Fix tests on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka committed Oct 28, 2023
1 parent 06a4734 commit b1b40e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lib/test/test_ttk/test_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,8 @@ def test_theme_create_vsapi(self):

style.theme_use(new_theme)
self.assertIn('pin', style.element_names())
self.assertEqual(style.layout('Explorer.Pin'), [])
self.assertEqual(style.layout('Explorer.Pin'),
[('Explorer.Pin.pin', {'sticky': 'nswe'})])

pin = ttk.Checkbutton(self.root, style='Explorer.Pin')
pin.pack(expand=True, fill='both')
Expand Down

0 comments on commit b1b40e2

Please sign in to comment.