Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christoph Arthofer
fslpy
Commits
cf109cfa
Commit
cf109cfa
authored
Mar 31, 2021
by
Evan Edmond
Browse files
simplify tests
parent
9f1eba08
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test_image.py
View file @
cf109cfa
...
...
@@ -150,8 +150,7 @@ def test_load():
# Not raising an error means the test passes
for
fname
in
shouldPass
:
fslimage
.
Image
(
op
.
join
(
testdir
,
fname
))
testpath
=
Path
(
testdir
)
/
fname
fslimage
.
Image
(
testpath
)
fslimage
.
Image
(
Path
(
testdir
)
/
fname
)
# These should raise an error
for
fname
,
exc
in
shouldRaise
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment