Skip to content

Commit 5d9a485

Browse files
Bago AmirbekianBago Amirbekian
authored andcommitted
TEST - set imdtype with code+npt
1 parent 9f2df66 commit 5d9a485

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nibabel/tests/test_analyze.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ def test_data_dtype(self):
210210
# dtype as output on get
211211
hdr.set_data_dtype(code)
212212
assert_equal(hdr.get_data_dtype(), npt)
213+
hdr.set_data_dtype(npt)
214+
assert_equal(hdr.get_data_dtype(), npt)
213215
for inp in unsupported_types:
214216
assert_raises(HeaderDataError,
215217
hdr.set_data_dtype,

0 commit comments

Comments
 (0)