Skip to content

Commit 057514e

Browse files
committed
Fixes test to not throw false negative results
1 parent a625d08 commit 057514e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎test/test_repo.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,8 @@ def test_tag_to_full_tag_path(self):
422422
self.rorepo.tag(tag)
423423
except ValueError as valueError:
424424
value_errors.append(valueError.args[0])
425-
raise ValueError('. '.join(value_errors))
425+
if value_errors:
426+
raise ValueError('. '.join(value_errors))
426427

427428
def test_archive(self):
428429
tmpfile = tempfile.mktemp(suffix='archive-test')

0 commit comments

Comments
 (0)