3d9d0b79be01a00d9cc055e40d5b1b8bb6067292,nilearn/tests/test_masking.py,,test_compute_gray_matter_mask,#,100

Before Change




def test_compute_gray_matter_mask():
    assert_true(1)


def test_apply_mask():
     Test smoothing of timeseries extraction

After Change


    np.testing.assert_array_equal(mask1, mask.get_data())

    // Check warning message if using continuous interpolation
    with warnings.catch_warnings(record=True) as w:
        compute_gray_matter_mask(image, interpolation="continuous")
    assert_equal(len(w), 2)
    assert_true(isinstance(w[1].message, masking.MaskWarning))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: nilearn/nilearn
Commit Name: 3d9d0b79be01a00d9cc055e40d5b1b8bb6067292
Time: 2018-07-11
Author: sylvain.lannuzel@student.ecp.fr
File Name: nilearn/tests/test_masking.py
Class Name:
Method Name: test_compute_gray_matter_mask


Project Name: statsmodels/statsmodels
Commit Name: 7f392b9d017d037cefb02794615c17ee8dea687f
Time: 2020-09-21
Author: josef.pktd@gmail.com
File Name: statsmodels/miscmodels/tests/test_ordinal_model.py
Class Name: TestLogitModelFormula
Method Name: test_setup


Project Name: nipy/dipy
Commit Name: ece99a5ea14b88bbf302eef642b32971dc618160
Time: 2019-07-23
Author: skab12@gmail.com
File Name: dipy/reconst/tests/test_mapmri.py
Class Name:
Method Name: test_mapmri_metrics_anisotropic