Skip to content
Snippets Groups Projects
Commit 2cca8c73 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

TEST: Some pytest configurations complain about pytest.raises arguments not

being errors.
parent 05b07c62
No related branches found
Tags 1.10.0
No related merge requests found
......@@ -39,8 +39,12 @@ except ImportError:
try:
import indexed_gzip as igzip
except ImportError:
class MockError(Exception):
pass
igzip = mock.MagicMock()
igzip.ZranError = mock.MagicMock()
igzip.ZranError = MockError
def make_image(filename=None,
......
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