Skip to content

Commit 01a96b9

Browse files
committed
Conditionally throw an error
1 parent 7ca97dc commit 01a96b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎test/test_repo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ 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+
self.assertEqual(value_errors, [])
426426

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

0 commit comments

Comments
 (0)