diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2021-06-04 10:35:22 +0800 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2021-06-04 10:36:48 +0800 |
commit | 01a96b92f7d873cbd531d142813c2be7ab88d5a5 (patch) | |
tree | 1db9681e0e4d603b03287699b15555aef2d5f476 /test/test_repo.py | |
parent | 7ca97dcef3131a11dd5ef41d674bb6bd36608608 (diff) | |
download | gitpython-01a96b92f7d873cbd531d142813c2be7ab88d5a5.tar.gz |
Conditionally throw an error
Diffstat (limited to 'test/test_repo.py')
-rw-r--r-- | test/test_repo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_repo.py b/test/test_repo.py index 0311653a..04102b01 100644 --- a/test/test_repo.py +++ b/test/test_repo.py @@ -422,7 +422,7 @@ class TestRepo(TestBase): self.rorepo.tag(tag) except ValueError as valueError: value_errors.append(valueError.args[0]) - raise ValueError('. '.join(value_errors)) + self.assertEqual(value_errors, []) def test_archive(self): tmpfile = tempfile.mktemp(suffix='archive-test') |