9fdb4c931fc4bb3572891ffa569ec21ffe16911e,Orange/widgets/data/tests/test_oweditdomain.py,TestEditors,test_continuous_editor,#TestEditors#,206
Before Change
w = ContinuousVariableEditor()
self.assertIs(w.get_data(), None)
v = ContinuousVariable("X", number_of_decimals=5)
v.attributes.update({"A": 1, "B": "b"})
w.set_data(v)
self.assertEqual(w.name_edit.text(), v.name)
After Change
w = ContinuousVariableEditor()
self.assertEqual(w.get_data(), (None, []))
v = Real("X", (-1, ""), (("A", "1"), ("B", "b")))
w.set_data(v, [])
self.assertEqual(w.name_edit.text(), v.name)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: biolab/orange3
Commit Name: 9fdb4c931fc4bb3572891ffa569ec21ffe16911e
Time: 2018-09-10
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/widgets/data/tests/test_oweditdomain.py
Class Name: TestEditors
Method Name: test_continuous_editor
Project Name: biolab/orange3
Commit Name: 75c499a706c60d0294eaddd5e0a7e5f277009bdb
Time: 2015-02-16
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/tests/test_domain.py
Class Name:
Method Name:
Project Name: biolab/orange3
Commit Name: 893b7c85c0cb072dfb59cbc1cca81a4a923d9df8
Time: 2015-12-18
Author: tomaz.hocevar@fri.uni-lj.si
File Name: Orange/tests/test_softmax_regression.py
Class Name: SoftmaxRegressionTest
Method Name: test_SoftmaxRegressionPreprocessors