Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit057514e

Browse files
committed
Fixes test to not throw false negative results
1 parenta625d08 commit057514e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎test/test_repo.py‎

Lines changed: 2 additions & 1 deletion
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
exceptValueErrorasvalueError:
424424
value_errors.append(valueError.args[0])
425-
raiseValueError('. '.join(value_errors))
425+
ifvalue_errors:
426+
raiseValueError('. '.join(value_errors))
426427

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp