forked from Mirror/pmbootstrap
test/test_build_package.py: fix new flake8 errors (!1910)
F540 f-string is missing placeholder Apparently I like the new f-strings so much that I used them even where they make no sense ;)
This commit is contained in:
parent
41a7089e21
commit
44bd235f3e
1 changed files with 2 additions and 2 deletions
|
@ -182,10 +182,10 @@ def test_build_depends_binary_outdated(args, monkeypatch):
|
||||||
def func_patch(args, package, *args2, **kwargs):
|
def func_patch(args, package, *args2, **kwargs):
|
||||||
print(f"func_patch: called for package: {package}")
|
print(f"func_patch: called for package: {package}")
|
||||||
if package == "hello-world":
|
if package == "hello-world":
|
||||||
print(f"pretending that it does not exist")
|
print("pretending that it does not exist")
|
||||||
return None
|
return None
|
||||||
if package == "binutils-aarch64":
|
if package == "binutils-aarch64":
|
||||||
print(f"pretending that it is outdated")
|
print("pretending that it is outdated")
|
||||||
ret = func_orig(args, package, *args2, **kwargs)
|
ret = func_orig(args, package, *args2, **kwargs)
|
||||||
ret["version"] = "0-r0"
|
ret["version"] = "0-r0"
|
||||||
return ret
|
return ret
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue