ac2157d7ff204cfc81771dafd195310ef1e10bd1,mne/io/eeglab/tests/test_eeglab.py,,test_eeglab_event_from_annot,#,372

Before Change


                               event_id=event_id, preload=False)

    events_a = find_events(raw1)
    with pytest.deprecated_call(match="read_events_eeglab"):
        events_b = read_events_eeglab(raw_fname, event_id=event_id)
    annotations = read_annotations(raw_fname)
    assert len(raw1.annotations) == 154
    raw1.set_annotations(annotations)
    events_c, _ = events_from_annotations(raw1, event_id=event_id)

After Change


    assert len(raw1.annotations) == 154
    raw1.set_annotations(annotations)
    events_b, _ = events_from_annotations(raw1, event_id=event_id)
    assert len(events_b) == 154


run_tests_if_main()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: mne-tools/mne-python
Commit Name: ac2157d7ff204cfc81771dafd195310ef1e10bd1
Time: 2018-11-21
Author: larson.eric.d@gmail.com
File Name: mne/io/eeglab/tests/test_eeglab.py
Class Name:
Method Name: test_eeglab_event_from_annot


Project Name: bokeh/bokeh
Commit Name: 8d4a722f73a1e856ba93a5511b5a8cd2a275d18b
Time: 2019-10-27
Author: bryan@bokeh.org
File Name: bokeh/tests/test_tile_providers.py
Class Name: Test_GetProvider
Method Name: test_get_provider


Project Name: mne-tools/mne-python
Commit Name: ecf639298f7bc9b9e9406a712eb852cb95586c74
Time: 2020-09-25
Author: larson.eric.d@gmail.com
File Name: mne/io/nirx/tests/test_nirx.py
Class Name:
Method Name: test_nirx_15_2