Skip to content

Commit 098f96f

Browse files
committed
fix doctests output
1 parent fd97284 commit 098f96f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nipype/interfaces/io.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1820,14 +1820,14 @@ class JSONFileGrabber(IOBase):
18201820
18211821
>>> from nipype.interfaces.io import JSONFileGrabber
18221822
>>> jsonSource = JSONFileGrabber()
1823-
>>> jsonSource.inputs.defaults = {'param1': 'overrideMe', 'param3': 1.0}
1823+
>>> jsonSource.inputs.defaults = {'param1': u'overrideMe', 'param3': 1.0}
18241824
>>> res = jsonSource.run()
18251825
>>> res.outputs.get()
1826-
{'param1': 'overrideMe', 'param3': 1.0 }
1826+
{'param3': 1.0, 'param1': u'overrideMe'}
18271827
>>> jsonSource.inputs.in_file = 'jsongrabber.txt'
18281828
>>> res = jsonSource.run()
18291829
>>> res.outputs.get()
1830-
{'param1': 'exampleStr', 'param2': 4, 'param3': 1.0}
1830+
{'param3': 1.0, 'param2': 4, 'param1': u'exampleStr'}
18311831
18321832
18331833
"""

0 commit comments

Comments
 (0)