Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d9199ca

Browse files
committed
TEST: Add unit to bad set_zoom call
1 parent 3562921 commit d9199ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎nibabel/tests/test_spatialimages.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ def test_zooms(self):
541541
with assert_raises(ValueError):
542542
img.header.get_zooms(units='badarg')
543543
with assert_raises(HeaderDataError):
544-
img.header.set_zooms((-1, 1, 1, 1))
544+
img.header.set_zooms((-1, 1, 1, 1), units='norm')
545545

546546
def test_zooms_edge_cases(self):
547547
''' Override for classes where *_norm_zooms != *_zooms '''

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /