Skip to content
Snippets Groups Projects
Commit ca4d335d authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

MNT: Remove six/backported mock

parent 0be88490
No related branches found
No related tags found
No related merge requests found
...@@ -2,5 +2,4 @@ h5py>=2.9 ...@@ -2,5 +2,4 @@ h5py>=2.9
nibabel>=2.4 nibabel>=2.4
numpy>=1 numpy>=1
scipy>=0.18 scipy>=0.18
six>=1
dataclasses dataclasses
...@@ -8,8 +8,9 @@ ...@@ -8,8 +8,9 @@
from __future__ import print_function from __future__ import print_function
import os.path as op import os.path as op
import shutil import shutil
import unittest.mock as mock
from setuptools import setup from setuptools import setup
from setuptools import find_namespace_packages from setuptools import find_namespace_packages
...@@ -68,11 +69,6 @@ class doc(Command): ...@@ -68,11 +69,6 @@ class doc(Command):
import sphinx.cmd.build as sphinx_build import sphinx.cmd.build as sphinx_build
try:
import unittest.mock as mock
except:
import mock
mockobj = mock.MagicMock() mockobj = mock.MagicMock()
mockobj.__version__ = '2.2.0' mockobj.__version__ = '2.2.0'
mockedModules = open(op.join(docdir, 'mock_modules.txt')).readlines() mockedModules = open(op.join(docdir, 'mock_modules.txt')).readlines()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment