Пример #1
0
 def test_migrate_selection(self):
     settings = dict(selection=list(range(2)))
     OWScatterPlot.migrate_settings(settings, 0)
     self.assertEqual(settings["selection_group"], [(0, 1), (1, 1)])
Пример #2
0
 def test_migrate_selection(self):
     settings = dict(selection=list(range(2)))
     OWScatterPlot.migrate_settings(settings, 0)
     self.assertEqual(settings["selection_group"], [(0, 1), (1, 1)])