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

Commit720e4bb

Browse files
committed
Fix TestBigRepoR.setUp info message
Changes that fix the message itself:- Add a missing space between words (two parts were concatenated, with no space at the edge of either).- Capitalize "GitPython" since that is the repo and project name.Changes that improve how the message is produced:- Make the entire literal part of the string the format string, instead of formatting the first part and concatenating the second part.- Pass the format string and k_env_git_repo variable as separate arguments to logging.info, so the logging machinery takes care of substituting it for %s, rather than doing the substitution.
1 parentdb317f1 commit720e4bb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎test/performance/lib.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ def setUp(self):
4545
repo_path=os.environ.get(k_env_git_repo)
4646
ifrepo_pathisNone:
4747
logging.info(
48-
("You can set the %s environment variable to a .git repository of"%k_env_git_repo)
49-
+"your choice - defaulting to the gitpython repository"
48+
"You can set the %s environment variable to a .git repository of your"
49+
" choice - defaulting to the GitPython repository",
50+
k_env_git_repo,
5051
)
5152
repo_path=osp.dirname(__file__)
5253
# end set some repo path

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp