Commit 2cca8c73 authored by Paul McCarthy's avatar 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
......@@ -39,8 +39,12 @@ except ImportError:
import indexed_gzip as igzip
except ImportError:
class MockError(Exception):
igzip = mock.MagicMock()
igzip.ZranError = mock.MagicMock()
igzip.ZranError = MockError
def make_image(filename=None,
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