diff --git a/Orange/widgets/unsupervised/tests/test_owdistancematrix.py b/Orange/widgets/unsupervised/tests/test_owdistancematrix.py index cce1176fcf1..acd31c5ea5b 100644 --- a/Orange/widgets/unsupervised/tests/test_owdistancematrix.py +++ b/Orange/widgets/unsupervised/tests/test_owdistancematrix.py @@ -48,7 +48,18 @@ def test_unconditional_commit_on_new_signal(self): commit.assert_called() def test_labels(self): - grades = Table.from_url("https://datasets.biolab.si/core/grades-two.tab") + x, y = (ContinuousVariable(c) for c in "xy") + s = StringVariable("s") + grades = Table.from_list( + Domain([x, y], [], [s]), + [[91.0, 89.0, "Bill"], + [51.0, 100.0, "Cynthia"], + [9.0, 61.0, "Demi"], + [49.0, 92.0, "Fred"], + [91.0, 49.0, "George"] + ] + ) + distances = Euclidean(grades) self.widget.set_distances(distances) ac = self.widget.annot_combo