e988f3320b269577eb83371a60aca3db4b1c92b7,mahotas/tests/test_internal.py,,test_get_axis_off,#,48

Before Change


    yield index, 12
    yield index, 13
    yield index, 14
    yield index, 67
    yield index, -67
    yield index, -len(f.shape)-1
    yield raises

After Change


             67,
             -67,
             -len(f.shape)-1]:
        with pytest.raises(ValueError):
            _get_axis(f, i, "test")



def test_normalize():
    f = np.arange(64)
    assert len(_normalize_sequence(f, 1, "test")) == f.ndim
    f = f.reshape((2,2,2,-1))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: luispedro/mahotas
Commit Name: e988f3320b269577eb83371a60aca3db4b1c92b7
Time: 2020-08-13
Author: luis@luispedro.org
File Name: mahotas/tests/test_internal.py
Class Name:
Method Name: test_get_axis_off


Project Name: luispedro/mahotas
Commit Name: e988f3320b269577eb83371a60aca3db4b1c92b7
Time: 2020-08-13
Author: luis@luispedro.org
File Name: mahotas/tests/test_convolve.py
Class Name:
Method Name: test_3d_wavelets_error


Project Name: luispedro/mahotas
Commit Name: e988f3320b269577eb83371a60aca3db4b1c92b7
Time: 2020-08-13
Author: luis@luispedro.org
File Name: mahotas/tests/test_convolve.py
Class Name:
Method Name: test_gaussian_order_high