Please note that this also needs to be fixed in debian/tests/control for the autopkgtest [1]. See below.
[1] https://ci.debian.net/packages/l/lilypond/testing/amd64/ 39s The following packages have unmet dependencies: 39s satisfy:command-line : Depends: imagemagick-6.q16 but it is not installable 39s E: Unable to correct problems, you have held broken packages. 39s test-suite FAIL badpkg 39s blame: lilypond 39s badpkg: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.