Skip to content

Commit

Permalink
Merge pull request moloney#88 from a-detiste/master
Browse files Browse the repository at this point in the history
prefer newer unittest.mock from standard library
  • Loading branch information
moloney authored Jun 5, 2024
2 parents 3c7ee96 + 3c6bc98 commit 615a914
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
import sys, os

#Mock unavailable packages for ReadTheDocs
import mock
try:
from unitttest import mock
except ImportError:
import mock

MOCK_MODULES = ['numpy',
'nibabel',
Expand Down

0 comments on commit 615a914

Please sign in to comment.