Skip to content

Commit 2162de9

Browse files
committed
fix imports
1 parent a3f26c1 commit 2162de9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
"langdetect",
156156
"mauve-text",
157157
"nltk",
158-
# "rouge_score", # also required by bigbench
158+
"rouge_score",
159159
"sacrebleu",
160160
"sacremoses",
161161
"scikit-learn",

tests/test_metric_common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ def predict(self, data, *args, **kwargs):
189189
yield
190190

191191

192+
@pytest.mark.metrics_catalog
192193
def test_seqeval_raises_when_incorrect_scheme():
193194
metric = load_metric(os.path.join("metrics", "seqeval"))
194195
wrong_scheme = "ERROR"

0 commit comments

Comments
 (0)