mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-01 12:01:05 +08:00
BUG: Need to format message, not ValueError instance
This commit is contained in:
1 parent
1499051df7
commit
18db1904bc
1 file changed
+2
-1
@@ -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