mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
ui: fix grammar in the error message
This commit is contained in:
+1
-1
@@ -167,7 +167,7 @@ class ReproductionError(DvcException):
|
||||
class BadMetricError(DvcException):
|
||||
def __init__(self, paths):
|
||||
super().__init__(
|
||||
"the following metrics do not exists, "
|
||||
"the following metrics do not exist, "
|
||||
"are not metric files or are malformed: {paths}".format(
|
||||
paths=", ".join("'{}'".format(path) for path in paths)
|
||||
)
|
||||
|
||||
@@ -868,6 +868,6 @@ def test_show_multiple_outputs(tmp_dir, dvc, caplog):
|
||||
assert 1 == main(["metrics", "show", "1.json", "not-found"])
|
||||
assert '1.json: {"AUC": 1}' in caplog.text
|
||||
assert (
|
||||
"the following metrics do not exists, "
|
||||
"the following metrics do not exist, "
|
||||
"are not metric files or are malformed: 'not-found'"
|
||||
) in caplog.text
|
||||
|
||||
Reference in New Issue
Block a user