2376ad38fe1aac01ac9bc2c327100bba4a86b6d0,mne/tests/test_report.py,,test_render_mri,#Any#Any#,244

Before Change


    assert repr(report)
    report.add_bem_to_section("sample", caption="extra", section="foo",
                              subjects_dir=subjects_dir, decim=30)
    report.save(op.join(tempdir, "report.html"), open_browser=False,
                overwrite=True)


@testing.requires_testing_data
@requires_nibabel()

After Change


    fname = op.join(tempdir, "report.html")
    report.save(fname, open_browser=False, overwrite=True)
    with open(fname, "r") as fid:
        html = fid.read()
    assert "class="report_foo"" in html


@testing.requires_testing_data
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: mne-tools/mne-python
Commit Name: 2376ad38fe1aac01ac9bc2c327100bba4a86b6d0
Time: 2020-04-20
Author: larson.eric.d@gmail.com
File Name: mne/tests/test_report.py
Class Name:
Method Name: test_render_mri


Project Name: NervanaSystems/nlp-architect
Commit Name: 838473cfb15599030b0e777b9a9901e22409a9b1
Time: 2018-07-11
Author: peter.izsak@intel.com
File Name: nlp_architect/models/chunker.py
Class Name: SequenceChunker
Method Name: save


Project Name: sony/nnabla
Commit Name: 5aa0e65747cd13c072749cbc7364f61bd149cadf
Time: 2020-03-24
Author: Yuchi.Wen@sony.com
File Name: python/src/nnabla/utils/save.py
Class Name:
Method Name: save