src/img2pdf_test.py: format with black

This commit is contained in:
Johannes Schauer Marin Rodrigues 2022-03-22 17:57:12 +01:00
parent 3da370d3bd
commit 244f034a2e
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -2211,13 +2211,7 @@ def gif_animation_img(tmp_path_factory, tmp_normal_png, tmp_inverse_png):
)
# make sure all frames have the same palette by using -remap
subprocess.check_call(
CONVERT
+ [
str(tmp_img),
"-strip",
"-remap", str(pal_img),
str(in_img)
]
CONVERT + [str(tmp_img), "-strip", "-remap", str(pal_img), str(in_img)]
)
pal_img.unlink()
tmp_img.unlink()