Skip to content
Prev Previous commit
Update Lib/tkinter/test/test_tkinter/test_widgets.py
  • Loading branch information
pablogsal authored Oct 8, 2020
commit e3403c0c7d5cc304a404e8f133f72c57549b6269
2 changes: 1 addition & 1 deletion Lib/tkinter/test/test_tkinter/test_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ def test_digits(self):

def test_from(self):
widget = self.create()
conv = float_round if get_tk_patchlevel() < (8, 6, 10) else noconv
conv = False if get_tk_patchlevel() >= (8, 6, 10) else float_round
self.checkFloatParam(widget, 'from', 100, 14.9, 15.1, conv=conv)

def test_label(self):
Expand Down