File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
- blosc
2
1
openpyxl
3
2
argparse
Original file line number Diff line number Diff line change @@ -77,15 +77,15 @@ def _check_zlib():
77
77
pass
78
78
except ImportError :
79
79
def _check_zlib ():
80
- raise ValueError ('zlib is not installed' )
80
+ raise ImportError ('zlib is not installed' )
81
81
82
82
_check_zlib .__doc__ = dedent (
83
83
"""\
84
84
Check if zlib is installed.
85
85
86
86
Raises
87
87
------
88
- ValueError
88
+ ImportError
89
89
Raised when zlib is not installed.
90
90
""" ,
91
91
)
@@ -97,15 +97,15 @@ def _check_blosc():
97
97
pass
98
98
except ImportError :
99
99
def _check_blosc ():
100
- raise ValueError ('blosc is not installed' )
100
+ raise ImportError ('blosc is not installed' )
101
101
102
102
_check_blosc .__doc__ = dedent (
103
103
"""\
104
104
Check if blosc is installed.
105
105
106
106
Raises
107
107
------
108
- ValueError
108
+ ImportError
109
109
Raised when blosc is not installed.
110
110
""" ,
111
111
)
You can’t perform that action at this time.
0 commit comments