File tree Expand file tree Collapse file tree 4 files changed +4
-7
lines changed Expand file tree Collapse file tree 4 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 7
7
8
8
import pytest
9
9
import numpy .testing as npt
10
- import mock
10
+ from unittest import mock
11
11
import nibabel as nb
12
12
import numpy as np
13
13
import os
16
16
class TestTSNR :
17
17
""" Note: Tests currently do a poor job of testing functionality """
18
18
19
- in_filenames = {
20
- "in_file" : "tsnrinfile.nii" ,
21
- }
19
+ in_filenames = {"in_file" : "tsnrinfile.nii" }
22
20
23
21
out_filenames = { # default output file names
24
22
"detrended_file" : "detrend.nii.gz" ,
Original file line number Diff line number Diff line change @@ -158,7 +158,6 @@ def get_nipype_gitversion():
158
158
TESTS_REQUIRES = [
159
159
"codecov" ,
160
160
"coverage<5" ,
161
- "mock" ,
162
161
"pytest" ,
163
162
"pytest-cov" ,
164
163
"pytest-env" ,
Original file line number Diff line number Diff line change 7
7
import scipy .sparse as ssp
8
8
import re
9
9
10
- import mock
10
+ from unittest import mock
11
11
12
12
from nipype .pipeline .plugins .tools import report_crash
13
13
Original file line number Diff line number Diff line change 5
5
import sys
6
6
import pytest
7
7
from nipype import config
8
- from mock import MagicMock
8
+ from unittest . mock import MagicMock
9
9
10
10
try :
11
11
import xvfbwrapper
You can’t perform that action at this time.
0 commit comments