Skip to content

Commit a7f8e11

Browse files
committed
TEST: Bad test syntax
1 parent 7392e8f commit a7f8e11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/tests/test_nifti1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def test_datatypes(self):
451451
if dt == np.void:
452452
continue
453453
hdr.set_data_dtype(code)
454-
assert hdr.get_data_dtype(), data_type_codes.dtype[code]
454+
assert hdr.get_data_dtype() == data_type_codes.dtype[code]
455455
# Check that checks also see new datatypes
456456
hdr.set_data_dtype(np.complex128)
457457
hdr.check_fix()

0 commit comments

Comments
 (0)