From 1d43a751e578e859e03350f198bca77244ba53b5 Mon Sep 17 00:00:00 2001 From: Michael Mercier Date: Fri, 12 Mar 2021 08:42:15 +0100 Subject: Use format instead of f-string --- test/test_repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_repo.py') 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) -- cgit v1.2.1