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 02eec3b commit 949768aCopy full SHA for 949768a
nibabel/freesurfer/tests/test_io.py
@@ -113,8 +113,10 @@ def test_write_morph_data():
113
assert_equal(values, read_morph_data('test.curv'))
114
assert_raises(ValueError, write_morph_data, 'test.curv',
115
np.zeros(shape), big_num)
116
- assert_raises(ValueError, write_morph_data, 'test.curv',
117
- strided_scalar((big_num,)))
+ # Windows 32-bit overflows Python int
+ if np.dtype(np.int) != np.dtype(np.int32):
118
+ assert_raises(ValueError, write_morph_data, 'test.curv',
119
+ strided_scalar((big_num,)))
120
for shape in bad_shapes:
121
122
values.reshape(shape))
0 commit comments