Skip to content

Commit bafac6d

Browse files
committed
ui: fix grammar in the error message
1 parent 1b1f8f9 commit bafac6d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dvc/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def __init__(self, dvc_file_name):
167167
class BadMetricError(DvcException):
168168
def __init__(self, paths):
169169
super().__init__(
170-
"the following metrics do not exists, "
170+
"the following metrics do not exist, "
171171
"are not metric files or are malformed: {paths}".format(
172172
paths=", ".join("'{}'".format(path) for path in paths)
173173
)

tests/func/test_metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,6 +868,6 @@ def test_show_multiple_outputs(tmp_dir, dvc, caplog):
868868
assert 1 == main(["metrics", "show", "1.json", "not-found"])
869869
assert '1.json: {"AUC": 1}' in caplog.text
870870
assert (
871-
"the following metrics do not exists, "
871+
"the following metrics do not exist, "
872872
"are not metric files or are malformed: 'not-found'"
873873
) in caplog.text

0 commit comments

Comments
 (0)