Commit cf109cfa authored by Evan Edmond's avatar Evan Edmond
Browse files

simplify tests

parent 9f1eba08
......@@ -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(Path(testdir) / fname)
# These should raise an error
for fname, exc in shouldRaise:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment