3b69c5b62cf0366e69270fd87b260d75b81b8bb8,Orange/widgets/data/tests/test_owcorrelations.py,TestOWCorrelations,test_input_data_with_constant_features,#TestOWCorrelations#,90
Before Change
domain = Domain([ContinuousVariable("c1"), ContinuousVariable("c2"),
DiscreteVariable("d1")])
self.send_signal(self.widget.Inputs.data, Table(domain, X))
time.sleep(0.1)
self.process_events()
self.assertEqual(self.widget.vizrank.rank_model.rowCount(), 1)
self.assertFalse(self.widget.Information.removed_cons_feat.is_shown())
domain = Domain([ContinuousVariable(str(i)) for i in range(3)])
self.send_signal(self.widget.Inputs.data, Table(domain, X))
time.sleep(0.1)
self.process_events()
self.assertEqual(self.widget.vizrank.rank_model.rowCount(), 1)
self.assertTrue(self.widget.Information.removed_cons_feat.is_shown())
After Change
domain = Domain([ContinuousVariable(str(i)) for i in range(3)])
self.send_signal(self.widget.Inputs.data, Table(domain, X))
self.wait_until_finished()
self.process_events()
self.assertEqual(self.widget.vizrank.rank_model.rowCount(), 1)
self.assertTrue(self.widget.Information.removed_cons_feat.is_shown())
X = np.ones((4, 3), dtype=float)
self.send_signal(self.widget.Inputs.data, Table(domain, X))
self.wait_until_finished()
self.process_events()
self.assertEqual(self.widget.vizrank.rank_model.columnCount(), 0)
self.assertTrue(self.widget.Warning.not_enough_vars.is_shown())
self.assertTrue(self.widget.Information.removed_cons_feat.is_shown())
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 5
Instances
Project Name: biolab/orange3
Commit Name: 3b69c5b62cf0366e69270fd87b260d75b81b8bb8
Time: 2020-05-18
Author: p.godec9@gmail.com
File Name: Orange/widgets/data/tests/test_owcorrelations.py
Class Name: TestOWCorrelations
Method Name: test_input_data_with_constant_features
Project Name: biolab/orange3
Commit Name: 3b69c5b62cf0366e69270fd87b260d75b81b8bb8
Time: 2020-05-18
Author: p.godec9@gmail.com
File Name: Orange/widgets/data/tests/test_owcorrelations.py
Class Name: TestOWCorrelations
Method Name: test_input_data_with_constant_features
Project Name: biolab/orange3
Commit Name: 3b69c5b62cf0366e69270fd87b260d75b81b8bb8
Time: 2020-05-18
Author: p.godec9@gmail.com
File Name: Orange/widgets/data/tests/test_owcorrelations.py
Class Name: TestOWCorrelations
Method Name: test_correlation_type
Project Name: biolab/orange3
Commit Name: 3b69c5b62cf0366e69270fd87b260d75b81b8bb8
Time: 2020-05-18
Author: p.godec9@gmail.com
File Name: Orange/widgets/data/tests/test_owcorrelations.py
Class Name: TestOWCorrelations
Method Name: test_select_feature
Project Name: biolab/orange3
Commit Name: 3b69c5b62cf0366e69270fd87b260d75b81b8bb8
Time: 2020-05-18
Author: p.godec9@gmail.com
File Name: Orange/widgets/data/tests/test_owcorrelations.py
Class Name: TestOWCorrelations
Method Name: test_input_changed
Project Name: biolab/orange3
Commit Name: 3b69c5b62cf0366e69270fd87b260d75b81b8bb8
Time: 2020-05-18
Author: p.godec9@gmail.com
File Name: Orange/widgets/data/tests/test_owcorrelations.py
Class Name: TestOWCorrelations
Method Name: test_saved_selection