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
FSL
fslpy
Commits
2cca8c73
Commit
2cca8c73
authored
Jul 18, 2018
by
Paul McCarthy
🚵
Browse files
TEST: Some pytest configurations complain about pytest.raises arguments not
being errors.
parent
05b07c62
Pipeline
#2240
passed with stages
in 17 minutes and 27 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
tests/test_image.py
View file @
2cca8c73
...
...
@@ -39,8 +39,12 @@ except ImportError:
try
:
import
indexed_gzip
as
igzip
except
ImportError
:
class
MockError
(
Exception
):
pass
igzip
=
mock
.
MagicMock
()
igzip
.
ZranError
=
m
ock
.
MagicMock
()
igzip
.
ZranError
=
M
ock
Error
def
make_image
(
filename
=
None
,
...
...
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