File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
algorithms/statistics/tests Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
2
2
# vi: set ft=python sts=4 ts=4 sw=4 et:
3
3
4
+ import functools
5
+ import operator
4
6
from itertools import combinations
5
7
6
8
import numpy as np
11
13
from nipy .utils import SCTYPES
12
14
13
15
from .. import intvol
14
- import functools
15
- import operator
16
16
17
17
18
18
def symnormal (p = 10 ):
Original file line number Diff line number Diff line change 1
1
""" Test quartile functions
2
2
"""
3
3
4
+ import functools
5
+ import operator
6
+
4
7
import numpy as np
5
8
from numpy import median as np_median
6
9
from numpy .testing import assert_array_almost_equal , assert_array_equal
9
12
from nipy .utils import SCTYPES
10
13
11
14
from .._quantile import _median , _quantile
12
- import functools
13
- import operator
14
15
15
16
NUMERIC_TYPES = list (
16
17
itertools .chain .from_iterable (
Original file line number Diff line number Diff line change 1
1
""" Testing arrays module
2
2
"""
3
3
4
+ import functools
5
+ import operator
6
+
4
7
import numpy as np
5
8
import pytest
6
9
from numpy .testing import assert_array_almost_equal , assert_array_equal
7
10
8
11
from nipy .utils import SCTYPES
9
12
10
13
from ..arrays import strides_from
11
- import functools
12
- import operator
13
14
14
15
15
16
def test_strides_from ():
You can’t perform that action at this time.
0 commit comments