mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-03 01:07:15 +08:00
BUG: Need to format message, not ValueError instance
This commit is contained in:
@@ -82,7 +82,8 @@ def _normalize_array(data):
|
||||
"not representable as datetime64[ns].\n"
|
||||
"Min Date: %s\n"
|
||||
"Max Date: %s\n"
|
||||
) % (data.min(), data.max())
|
||||
% (data.min(), data.max())
|
||||
)
|
||||
else:
|
||||
raise TypeError(
|
||||
"Don't know how to construct AdjustedArray "
|
||||
|
||||
Reference in New Issue
Block a user