Skip to content

Commit de6bc98

Browse files
committed
hide doctest tear up
1 parent fe54744 commit de6bc98

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

nipype/interfaces/fsl/possum.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@
77
<http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/POSSUM>`_ command line tools.
88
Please, check out the link for pertinent citations using POSSUM.
99
10-
.. Note:: This was written to work with FSL version 5.0.6.
10+
.. Note:: This was written to work with FSL version 5.0.6.
1111
12-
Change directory to provide relative paths for doctests
13-
>>> import os
14-
>>> filepath = os.path.dirname( os.path.realpath( __file__ ) )
15-
>>> datadir = os.path.realpath(os.path.join(filepath, '../../testing/data'))
16-
>>> os.chdir(datadir)
12+
.. testsetup::
13+
14+
# Change directory to provide relative paths for doctests
15+
import os
16+
filepath = os.path.dirname( os.path.realpath( __file__ ) )
17+
datadir = os.path.realpath(os.path.join(filepath, '../../testing/data'))
18+
os.chdir(datadir)
1719
1820
"""
1921

0 commit comments

Comments
 (0)