diff options
author | Michael Mercier <michael.mercier@ryax.tech> | 2021-03-12 08:42:15 +0100 |
---|---|---|
committer | Michael Mercier <michael.mercier@ryax.tech> | 2021-03-12 08:42:15 +0100 |
commit | 1d43a751e578e859e03350f198bca77244ba53b5 (patch) | |
tree | 1d09c3396dfed1ec9ff0af3584fa3a9acbda113c | |
parent | 3a4fc6abfb3b39237f557372262ac79f45b6a9fa (diff) | |
download | gitpython-1d43a751e578e859e03350f198bca77244ba53b5.tar.gz |
Use format instead of f-string
-rw-r--r-- | test/test_repo.py | 2 |
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) |