Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka committed Nov 27, 2023
1 parent 26ad143 commit 5d09a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/tkinter/test/test_ttk/test_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def test_element_create_image(self):
self.assertEqual(a.winfo_reqwidth(), 12)
self.assertEqual(a.winfo_reqheight(), 10)

imgfile = support.findfile('python.xbm', subdir='tkinterdata')
imgfile = support.findfile('python.xbm', subdir='imghdrdata')
img1 = tkinter.BitmapImage(master=self.root, file=imgfile,
foreground='yellow', background='blue')
img2 = tkinter.BitmapImage(master=self.root, file=imgfile,
Expand Down

0 comments on commit 5d09a11

Please sign in to comment.