1b9d2228bc40f817ef1765686bc2ec6e81079d13,mne/io/eeglab/tests/test_eeglab.py,,test_io_set_raw,#Any#,64

Before Change



    kws = dict(reader=read_raw_eeglab, input_fname=fname)
    if fname.endswith("test_raw_chanloc.set"):
        with pytest.warns(RuntimeWarning,
                          match="The data contains "boundary" events"):
            _test_raw_reader(**kws)
    else:
        _test_raw_reader(**kws)

    // test that preloading works

After Change



    // Annotations
    if fname != raw_fname_chanloc:
        assert len(raw0.annotations) == 154
        assert set(raw0.annotations.description) == {"rt", "square"}
        assert_array_equal(raw0.annotations.duration, 0.)

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: mne-tools/mne-python
Commit Name: 1b9d2228bc40f817ef1765686bc2ec6e81079d13
Time: 2020-12-17
Author: larson.eric.d@gmail.com
File Name: mne/io/eeglab/tests/test_eeglab.py
Class Name:
Method Name: test_io_set_raw


Project Name: pytorch/ignite
Commit Name: 7753eabc5af8bed2cca4713805613adfbc460a8e
Time: 2021-02-21
Author: francois.cokelaer@gmail.com
File Name: tests/ignite/metrics/test_recall.py
Class Name:
Method Name: _test_distrib_integration_multilabel


Project Name: pytorch/ignite
Commit Name: 7753eabc5af8bed2cca4713805613adfbc460a8e
Time: 2021-02-21
Author: francois.cokelaer@gmail.com
File Name: tests/ignite/metrics/test_precision.py
Class Name:
Method Name: _test_distrib_integration_multilabel