Skip to content

Commit 09c97e3

Browse files
committed
Bugfix within findiff-package (v0.12.1) causes and update of testvector.
1 parent 942c5de commit 09c97e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_scope.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,10 @@ def test_low_pass_filter(tst_vector, tst_order, tst_angular_freq, exp_result_or_
382382
# channel values
383383
test_vec1 = pss.Scope.generate_channel([0, 1, 2, 3, 4, 5, 6], [1, 4, 2, 3, 7, 3, 2])
384384

385+
# Remark: findiff v0.12.0 works with "test_res1 = [6, 1, 0, 2, 0, -2, 0]".
386+
# Bugfix in v0.12.1 leads to update of the result vector test_res1
385387
# result values
386-
test_res1 = [6, 1, 0, 2, 0, -2, 0]
388+
test_res1 = [5.5, 0.5, -0.5, 2.5, 0.0, -2.5, 0.5]
387389

388390
# parameterset for values
389391
@pytest.mark.parametrize("tst_vector, tst_order, exp_result_or_error, error_flag", [

0 commit comments

Comments
 (0)