BUG: Need to format message, not ValueError instance

This commit is contained in:
Richard Frank
2016-01-06 16:02:18 -05:00
parent 1499051df7
commit 18db1904bc
+2 -1
View File
@@ -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 "