feat: add support for Ubuntu Focal 20.04 (#1168)

Co-authored-by: Valerio Bozzolan <gnu@linux.it>
This commit is contained in:
Kyle Robbertze 2021-11-04 07:55:50 +00:00 committed by GitHub
parent 3d20af5fae
commit 7182390000
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 73 additions and 41 deletions

View file

@ -19,8 +19,8 @@ def test_analyze(filepath, length, cuein, cueout):
if filepath.endswith("m4a"):
return
# Silan does not work with mp3 on debian buster
if filepath.endswith("mp3") and "buster" == distro.codename():
# Silan does not work with mp3 on debian buster or Ubuntu Focal
if filepath.endswith("mp3") and distro.codename() in ("buster", "focal"):
return
assert float(metadata["cuein"]) == pytest.approx(cuein, abs=0.5)