|
16 | 16 | Nifti1Extensions)
|
17 | 17 | from ..nifti2 import (Nifti2Header, Nifti2PairHeader, Nifti2Image, Nifti2Pair)
|
18 | 18 |
|
19 |
| -from .test_nifti1 import (TestNifti1PairHeader, TestNifti1SingleHeader, |
20 |
| - TestNifti1Pair, TestNifti1Image, TestNifti1General) |
| 19 | +from . import test_nifti1 as tn1 |
21 | 20 |
|
22 | 21 | from numpy.testing import assert_array_equal
|
23 | 22 |
|
@@ -59,27 +58,27 @@ def test_eol_check(self):
|
59 | 58 | 'setting EOL check to 13, 10, 26, 10')
|
60 | 59 |
|
61 | 60 |
|
62 |
| -class TestNifti2PairHeader(_Nifti2Mixin, TestNifti1PairHeader): |
| 61 | +class TestNifti2PairHeader(_Nifti2Mixin, tn1.TestNifti1PairHeader): |
63 | 62 | header_class = Nifti2PairHeader
|
64 | 63 | example_file = header_file
|
65 | 64 |
|
66 | 65 |
|
67 |
| -class TestNifti2SingleHeader(_Nifti2Mixin, TestNifti1SingleHeader): |
| 66 | +class TestNifti2SingleHeader(_Nifti2Mixin, tn1.TestNifti1SingleHeader): |
68 | 67 | header_class = Nifti2Header
|
69 | 68 | example_file = header_file
|
70 | 69 |
|
71 | 70 |
|
72 |
| -class TestNifti2Image(TestNifti1Image): |
| 71 | +class TestNifti2Image(tn1.TestNifti1Image): |
73 | 72 | # Run analyze-flavor spatialimage tests
|
74 | 73 | image_class = Nifti2Image
|
75 | 74 |
|
76 | 75 |
|
77 |
| -class TestNifti2Pair(TestNifti1Pair): |
| 76 | +class TestNifti2Pair(tn1.TestNifti1Pair): |
78 | 77 | # Run analyze-flavor spatialimage tests
|
79 | 78 | image_class = Nifti2Pair
|
80 | 79 |
|
81 | 80 |
|
82 |
| -class TestNifti2General(TestNifti1General): |
| 81 | +class TestNifti2General(tn1.TestNifti1General): |
83 | 82 | """ Test class to test nifti2 in general
|
84 | 83 |
|
85 | 84 | Tests here which mix the pair and the single type, and that should only be
|
|
0 commit comments