BUG: TypeError message had only str of numpy.dtype class

We want to use the dtype of the data that was passed in.
This commit is contained in:
Richard Frank
2016-01-06 15:26:18 -05:00
parent 80a553d1c0
commit 1499051df7
+1 -1
View File
@@ -86,7 +86,7 @@ def _normalize_array(data):
else:
raise TypeError(
"Don't know how to construct AdjustedArray "
"on data of type %s." % dtype
"on data of type %s." % data_dtype
)