values in the last column and add test for same.
for that case.
…ated to #1792.
file names and file like objects. Add test for for new functionality.
… Justin Peel.
Tests were not run before because the allclose test class was a subclass of TestCase and used generators. This is not supported by nose, tests will be skipped. Also changes plain asserts to assert_(). Closes #1672. Thanks to Justin Peel for the allclose inf fix.
Thanks to Paul Anton Letnes and Derek Homeier.
Thanks to Paul Anton Letnes and Derek Homeier. (backport of e340e66)
…ed in genfromtxt.
Add some tests for these types.
…uffer interface. (#1789) Code: Added NPY_HALF to switch (descr->type_num) in _buffer_format_string. Added 'e' keys to the _pep3118_native_map and _pep3118_standard_map. Tests: Added entries to the generic round-trip tests. Added specialized half-float test that round-trips example values from the wikipedia page. http://en.wikipedia.org/wiki/Half_precision_floating-point_format http://mail.scipy.org/pipermail/numpy-discussion/2011-March/055795.html
This is not a complete fix yet. Should be handled correctly in binary installers.
…string generation (cherry picked from commit 89db53b)
The offset counting for struct fields occurred in a wrong location. Tests added. (cherry picked from commit ef46a09)
Also add more informative error messages for wrongly specified bins, for both histogram and histogram2d/dd. (backport of fdf84d9)
(backport of 1dcf0c9)
Fix the seterr test case to take the new defaults into account.
except for underflow, which remains ignored.
(backport of 689b68c)