summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mercier <michael.mercier@ryax.tech>2021-03-12 08:42:15 +0100
committerMichael Mercier <michael.mercier@ryax.tech>2021-03-12 08:42:15 +0100
commit1d43a751e578e859e03350f198bca77244ba53b5 (patch)
tree1d09c3396dfed1ec9ff0af3584fa3a9acbda113c
parent3a4fc6abfb3b39237f557372262ac79f45b6a9fa (diff)
downloadgitpython-1d43a751e578e859e03350f198bca77244ba53b5.tar.gz
Use format instead of f-string
-rw-r--r--test/test_repo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_repo.py b/test/test_repo.py
index 30e4f2cb..65e69c52 100644
--- a/test/test_repo.py
+++ b/test/test_repo.py
@@ -244,7 +244,7 @@ class TestRepo(TestBase):
password = "fakepassword1234"
try:
Repo.clone_from(
- url=f"https://fakeuser:{password}@fakerepo.example.com/testrepo",
+ url="https://fakeuser:{}@fakerepo.example.com/testrepo".format(password),
to_path=rw_dir)
except GitCommandError as err:
assert password not in str(err)