Skip to content

Commit

Permalink
Use f string
Browse files Browse the repository at this point in the history
  • Loading branch information
shimpeko committed Dec 16, 2022
1 parent 4fa140d commit ccec2d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/test_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
def test_update_outdated(pipenv_instance_private_pypi):
with pipenv_instance_private_pypi() as p:
package_name = "six"
p.pipenv("install {}~=1.15".format(package_name))
p.pipenv(f"install {package_name}~=1.15")
c = p.pipenv("update --outdated")
assert c.stdout_bytes.decode("utf-8").startswith("Package {} out-of-date:".format(package_name))
assert c.returncode == 0
Expand All @@ -17,5 +17,5 @@ def test_update_outdated_with_outdated_dev_package(pipenv_instance_private_pypi)
package_name = "six"
p.pipenv("install -d {}~=1.15".format(package_name))
c = p.pipenv("update --outdated")
assert c.stdout_bytes.decode("utf-8").startswith("Package {} out-of-date:".format(package_name))
assert c.stdout_bytes.decode("utf-8").startswith(f"Package {package_name} out-of-date:")
assert c.returncode == 0

0 comments on commit ccec2d1

Please sign in to comment.