Skip to content

Commit

Permalink
fixup! owimpute: Make default_numeric locale independant
Browse files Browse the repository at this point in the history
  • Loading branch information
ales-erjavec committed Jan 27, 2021
1 parent ab382aa commit 2a9de6f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Orange/widgets/data/tests/test_owimpute.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ def test_overall_default(self):
[2, 3.14, 1, 42, 2000, 2000]]
)

widget.numeric_value_widget.setValue(100)
QTest.keyClick(widget.numeric_value_widget, Qt.Key_Enter)
self.assertEqual(widget.default_numeric_value, 100)

def test_value_edit(self):
data = Table("heart_disease")[::10]
self.send_signal(self.widget.Inputs.data, data)
Expand Down

0 comments on commit 2a9de6f

Please sign in to comment.