Skip to content

Commit 7966160

Browse files
author
Mathieu Scheltienne
committed
rm unused imports
1 parent 1dac328 commit 7966160

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

nibabel/tests/test_image_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
import unittest
4040

4141
import pytest
42-
from numpy.testing import assert_allclose, assert_almost_equal, assert_array_equal, assert_warns
42+
from numpy.testing import assert_allclose, assert_almost_equal, assert_array_equal
4343

4444
from nibabel.arraywriters import WriterError
4545
from nibabel.testing import (
@@ -69,7 +69,7 @@
6969
minc2,
7070
parrec,
7171
)
72-
from ..deprecator import ExpiredDeprecationError
72+
from ..casting import sctypes
7373
from ..spatialimages import SpatialImage
7474
from ..tmpdirs import InTemporaryDirectory
7575
from .test_api_validators import ValidateAPI

nibabel/tests/test_proxy_api.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@
3636

3737
import numpy as np
3838
import pytest
39-
from numpy.testing import assert_allclose, assert_almost_equal, assert_array_equal
39+
from numpy.testing import assert_allclose, assert_array_equal
4040

4141
from .. import ecat, minc1, minc2, parrec
4242
from ..analyze import AnalyzeHeader
4343
from ..arrayproxy import ArrayProxy, is_proxy
44-
from ..deprecator import ExpiredDeprecationError
4544
from ..casting import have_binary128, sctypes
4645
from ..externals.netcdf import netcdf_file
4746
from ..freesurfer.mghformat import MGHHeader

nibabel/tests/test_scaling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
import numpy as np
1515
import pytest
16-
from numpy.testing import assert_array_almost_equal, assert_array_equal
16+
from numpy.testing import assert_array_equal
1717

1818
from ..casting import sctypes, type_info
1919
from ..testing import suppress_warnings

0 commit comments

Comments
 (0)