Skip to content
Snippets Groups Projects
Commit cf109cfa authored by Evan Edmond's avatar Evan Edmond
Browse files

simplify tests

parent 9f1eba08
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment