f552b3a20131de2a4c6ee5fe34168d59ca7cdbb5,nilearn/plotting/tests/test_img_plotting.py,,test_demo_plot_roi,#,61
Before Change
// Test the black background code path
demo_plot_roi(black_bg=True)
out = demo_plot_roi(output_file=tempfile.TemporaryFile(suffix=".png"))
assert_true(out is None)
After Change
// Test the black background code path
demo_plot_roi(black_bg=True)
with tempfile.TemporaryFile(suffix=".png") as fp:
out = demo_plot_roi(output_file=fp)
assert_true(out is None)
def test_plot_anat():
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: nilearn/nilearn
Commit Name: f552b3a20131de2a4c6ee5fe34168d59ca7cdbb5
Time: 2015-03-05
Author: bcipolli@ucsd.edu
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_demo_plot_roi
Project Name: nilearn/nilearn
Commit Name: f552b3a20131de2a4c6ee5fe34168d59ca7cdbb5
Time: 2015-03-05
Author: bcipolli@ucsd.edu
File Name: nilearn/plotting/tests/test_displays.py
Class Name:
Method Name: test_stacked_slicer
Project Name: nilearn/nilearn
Commit Name: 72089d5f9fa21cabb5bd8fb202b817b3973801a2
Time: 2015-03-27
Author: danilobzdok@gmail.com
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_plot_functions
Project Name: nilearn/nilearn
Commit Name: f552b3a20131de2a4c6ee5fe34168d59ca7cdbb5
Time: 2015-03-05
Author: bcipolli@ucsd.edu
File Name: nilearn/plotting/tests/test_displays.py
Class Name:
Method Name: test_demo_ortho_projector