SparseFormatWarning is not in __all__
try:
import scipy.sparse as _sparse
SparseWarning = _sparse.SparseWarning
- SparseFormatWarning = _sparse.SparseFormatWarning
SparseEfficiencyWarning = _sparse.SparseEfficiencyWarning
except ImportError:
class SparseWarning(Warning):
pass
-
- class SparseFormatWarning(SparseWarning):
- pass
-
-
class SparseEfficiencyWarning(SparseWarning):
pass
