Skip to content

Commit 1d43a75

Browse files
committed
Use format instead of f-string
1 parent 3a4fc6a commit 1d43a75

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
except GitCommandError as err:
250250
assert password not in str(err)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy