From 6f534fffeb012d6659d76a5690cf24e2c9f1a328 Mon Sep 17 00:00:00 2001 From: Erik Norvell Date: Tue, 8 Apr 2025 16:10:56 +0200 Subject: [PATCH 1/2] Fix channel number error in test_26444.py, and reversed order of test/ref in comparison --- tests/test_26444.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_26444.py b/tests/test_26444.py index 054242c4c9..4209fb9bab 100644 --- a/tests/test_26444.py +++ b/tests/test_26444.py @@ -165,9 +165,9 @@ def test_evs_26444( shutil.copy(ref, reffile) shutil.copy(test, testfile) output_differs, reason = cmp_pcm( - reffile, - testfile, - output_config, + testfile, # Setting testfile as reffile! Useful when comparing to float reference + reffile, # Setting reffile as testfile! Useful when comparing to float reference + 1, fs, get_mld=get_mld, mld_lim=get_mld_lim, -- GitLab From 90e98b72dc871ab0b437b70ac6214abee425fa61 Mon Sep 17 00:00:00 2001 From: Erik Norvell Date: Thu, 10 Apr 2025 19:03:14 +0200 Subject: [PATCH 2/2] Revert to correct ref/test order in test_26444.py --- tests/test_26444.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_26444.py b/tests/test_26444.py index 4209fb9bab..cdf065ef3e 100644 --- a/tests/test_26444.py +++ b/tests/test_26444.py @@ -165,8 +165,8 @@ def test_evs_26444( shutil.copy(ref, reffile) shutil.copy(test, testfile) output_differs, reason = cmp_pcm( - testfile, # Setting testfile as reffile! Useful when comparing to float reference - reffile, # Setting reffile as testfile! Useful when comparing to float reference + reffile, + testfile, 1, fs, get_mld=get_mld, -- GitLab