We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df550e5 commit 79696edCopy full SHA for 79696ed
Orange/widgets/data/tests/test_owdiscretize.py
@@ -82,6 +82,12 @@ def test_select_method(self):
82
self.assertIsInstance(widget.method_for_index(0), Default)
83
self.assertIsInstance(widget.method_for_index(2), Default)
84
85
+ def test_migration(self):
86
+ w = self.create_widget(OWDiscretize, stored_settings={
87
+ "default_method": 0
88
+ })
89
+ self.assertEqual(w.default_method, OWDiscretize.Leave)
90
+
91
def test_manual_cuts_edit(self):
92
widget = self.widget
93
data = Table("iris")[::5]
0 commit comments