Skip to content
Snippets Groups Projects
Commit 0646068e 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 948d0dbb
No related branches found
No related tags found
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