File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1919
2020import numpy as np
2121
22+ from six import BytesIO
2223
2324from .butils import print_git_title
2425
2526from numpy .testing import measure
2627
28+ from nibabel .volumeutils import array_to_file
29+
2730
2831def bench_array_to_file ():
2932 rng = np .random .RandomState (20111001 )
Original file line number Diff line number Diff line change 2424
2525from numpy .testing import measure
2626
27+ from nibabel .volumeutils import finite_range
28+
2729
2830def bench_finite_range ():
2931 rng = np .random .RandomState (20111001 )
Original file line number Diff line number Diff line change 22import sys
33import subprocess
44try :
5- from ConfigParser import ConfigParser
5+ from ConfigParser import RawConfigParser as ConfigParser
66except ImportError :
7- from configparser import ConfigParser # python 3
7+ from configparser import RawConfigParser as ConfigParser # python 3
88
99COMMIT_INFO_FNAME = 'COMMIT_INFO.txt'
1010
You can’t perform that action at this time.
0 commit comments