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

Commit1d43a75

Browse files
committed
Use format instead of f-string
1 parent3a4fc6a commit1d43a75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎test/test_repo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def test_leaking_password_in_clone_logs(self, rw_dir):
244244
password="fakepassword1234"
245245
try:
246246
Repo.clone_from(
247-
url=f"https://fakeuser:{password}@fakerepo.example.com/testrepo",
247+
url="https://fakeuser:{}@fakerepo.example.com/testrepo".format(password),
248248
to_path=rw_dir)
249249
exceptGitCommandErroraserr:
250250
assertpasswordnotinstr(err)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp