Skip to content

Commit c828fec

Browse files
committed
fixed test
1 parent 2ff50ed commit c828fec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nipype/utils/tests/test_nipype2boutiques.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# vi: set ft=python sts=4 ts=4 sw=4 et:
44
from future import standard_library
55
from ..nipype2boutiques import generate_boutiques_descriptor
6+
from nipype.testing import example_data
67
import json
78
standard_library.install_aliases()
89

@@ -25,8 +26,7 @@ def test_generate():
2526
author=("Oxford Centre for Functional"
2627
" MRI of the Brain (FMRIB)"))
2728

28-
with open('utils/nipype2boutiques_example.json', 'r',
29-
encoding='utf-8') as desc_file:
29+
with open(example_data('nipype2boutiques_example.json'), 'r') as desc_file:
3030
assert ordered(json.loads(desc)) == ordered(json.load(desc_file))
3131

3232

0 commit comments

Comments
 (0)