Skip to content

Commit f9d78d6

Browse files
authored
Merge pull request #5530 from irgolic/fix-testandscore-test-mock
test_owtestandscore: Fix testandscore test mock
2 parents a780239 + 591d745 commit f9d78d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orange/widgets/evaluate/tests/test_owtestandscore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ def test_comparison_binary_score(self):
598598
w = self.widget
599599
self._set_three_majorities()
600600
self._set_comparison_score("F1")
601-
f1mock = Mock(wraps=scoring.F1)
601+
f1mock = Mock(wraps=scoring.F1.compute_score)
602602

603603
iris = Table("iris")
604604
with patch.object(scoring.F1, "compute_score", f1mock):

0 commit comments

Comments
 (0)