Skip to content

Commit bec78b6

Browse files
committed
TEST: Verify get_scaled works sensibly with ints
1 parent 54e87bb commit bec78b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/tests/test_proxy_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def validate_get_scaled(self, pmaker, params):
140140
# Shape matches expected shape
141141
assert_equal(out.shape, params['shape'])
142142

143-
for dtype in np.sctypes['float']:
143+
for dtype in np.sctypes['float'] + np.sctypes['int'] + np.sctypes['uint']:
144144
out = prox.get_scaled(dtype=dtype)
145145
assert_almost_equal(out, params['arr_out'])
146146
assert_greater_equal(out.dtype, np.dtype(dtype))

0 commit comments

Comments
 (0)