Skip to content

Commit fc89e7e

Browse files
committed
BF - optpkg was imported from nipy for doctest
but of course it doesn't exist in nipy, and even if it did, we don't depend on nipy.
1 parent 9f13d76 commit fc89e7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/optpkg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def optional_package(name, trip_msg=None):
3737
Typical use would be something like this at the top of a module using an
3838
optional package:
3939
40-
>>> from nipy.utils.optpkg import optional_package
40+
>>> from nibabel.optpkg import optional_package
4141
>>> pkg, have_pkg, setup_module = optional_package('not_a_package')
4242
4343
Of course in this case the package doesn't exist, and so, in the module:

0 commit comments

Comments
 (0)