Loading tests/renderer/utils.py +4 −2 Original line number Diff line number Diff line Loading @@ -31,7 +31,6 @@ the United Nations Convention on Contracts on the International Sales of Goods. """ import errno import filecmp import logging import os import re Loading Loading @@ -504,6 +503,7 @@ def compare_renderer_args( ref_kwargs: Dict, cut_kwargs: Dict, split_comparison=False, atol=2, ): out_file_ref = run_renderer( record_property, Loading @@ -525,7 +525,9 @@ def compare_renderer_args( split_comparison=split_comparison, ) cut, cut_fs = readfile(out_file_cut) [diff_found, snr, gain_b, max_diff] = check_BE(test_info, ref, ref_fs, cut, cut_fs) [diff_found, snr, gain_b, max_diff] = check_BE( test_info, ref, ref_fs, cut, cut_fs, atol ) if diff_found: pytest.fail( f"CuT not BE to REF! SNR : {snr:3.2f} dB, Gain CuT: {gain_b:1.3f}, Max Diff = {int(max_diff)}" Loading Loading
tests/renderer/utils.py +4 −2 Original line number Diff line number Diff line Loading @@ -31,7 +31,6 @@ the United Nations Convention on Contracts on the International Sales of Goods. """ import errno import filecmp import logging import os import re Loading Loading @@ -504,6 +503,7 @@ def compare_renderer_args( ref_kwargs: Dict, cut_kwargs: Dict, split_comparison=False, atol=2, ): out_file_ref = run_renderer( record_property, Loading @@ -525,7 +525,9 @@ def compare_renderer_args( split_comparison=split_comparison, ) cut, cut_fs = readfile(out_file_cut) [diff_found, snr, gain_b, max_diff] = check_BE(test_info, ref, ref_fs, cut, cut_fs) [diff_found, snr, gain_b, max_diff] = check_BE( test_info, ref, ref_fs, cut, cut_fs, atol ) if diff_found: pytest.fail( f"CuT not BE to REF! SNR : {snr:3.2f} dB, Gain CuT: {gain_b:1.3f}, Max Diff = {int(max_diff)}" Loading