We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7392e8f commit a7f8e11Copy full SHA for a7f8e11
nibabel/tests/test_nifti1.py
@@ -451,7 +451,7 @@ def test_datatypes(self):
451
if dt == np.void:
452
continue
453
hdr.set_data_dtype(code)
454
- assert hdr.get_data_dtype(), data_type_codes.dtype[code]
+ assert hdr.get_data_dtype() == data_type_codes.dtype[code]
455
# Check that checks also see new datatypes
456
hdr.set_data_dtype(np.complex128)
457
hdr.check_fix()
0 commit comments