Skip to content

Commit e19a1cc

Browse files
Apply suggestion from @CodyCBakerPhD
1 parent 4f511e9 commit e19a1cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dandi/tests/test_move.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -770,8 +770,8 @@ def test_move_not_dandiset(
770770
with pytest.raises(ValueError) as excinfo:
771771
move("file.txt", "subdir2/banana.txt", dest="subdir1", work_on=work_on)
772772
assert str(excinfo.value) == (
773-
f"{tmp_path.absolute()}: not a Dandiset. "
774-
"The directory does not contain a 'dandiset.yaml' file. "
773+
f"'{tmp_path.absolute()}' not a Dandiset because "
774+
"the directory does not contain a 'dandiset.yaml' file. "
775775
"Use 'dandi download' to download a dandiset first."
776776
)
777777

0 commit comments

Comments
 (0)