cc491c46383d6d5f16865c86bad605c625b9d6e2,tests/test_util.py,,test_peak_pick,#,485

Before Change


                                if post_max <= 0:
                                    tf = raises(librosa.ParameterError)(__test)
                                if post_avg <= 0:
                                    tf = raises(librosa.ParameterError)(__test)
                                yield (tf, n, pre_max, post_max,
                                       pre_avg, post_avg, delta, wait)

After Change


    yield __test_shape_fail

    win_range = [-1, 0, 1, 10]
    __test_fail = pytest.mark.xfail(__test, raises=librosa.ParameterError)

    for n in [1, 5, 10, 100]:
        for pre_max in win_range:
            for post_max in win_range:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 8

Instances


Project Name: librosa/librosa
Commit Name: cc491c46383d6d5f16865c86bad605c625b9d6e2
Time: 2018-11-13
Author: brian.mcfee@nyu.edu
File Name: tests/test_util.py
Class Name:
Method Name: test_peak_pick


Project Name: librosa/librosa
Commit Name: cc491c46383d6d5f16865c86bad605c625b9d6e2
Time: 2018-11-13
Author: brian.mcfee@nyu.edu
File Name: tests/test_util.py
Class Name:
Method Name: test_normalize_threshold


Project Name: librosa/librosa
Commit Name: cc491c46383d6d5f16865c86bad605c625b9d6e2
Time: 2018-11-13
Author: brian.mcfee@nyu.edu
File Name: tests/test_util.py
Class Name:
Method Name: test_normalize_fill


Project Name: librosa/librosa
Commit Name: cc491c46383d6d5f16865c86bad605c625b9d6e2
Time: 2018-11-13
Author: brian.mcfee@nyu.edu
File Name: tests/test_util.py
Class Name:
Method Name: test_valid_intervals