summaryrefslogtreecommitdiff
path: root/numpy/lib/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Committed patch from Ryan May. It fixes error in loadtxt occurring when ↵dhuard2008-07-221-0/+11
| | | | | | usecols is not None and dtypes are given. I added the test suggested by Ryan.
* Make use of assert_raises from numpy.testing, and added run_module_suite to ↵Alan McIntyre2008-07-141-3/+5
| | | | | | support running test module stand-alone.
* Added tests to improve coverage.Alan McIntyre2008-07-135-4/+254
| | | | Renamed TestPiecewise methods so that they will be picked up by nose.
* Use TestCase instead of NumpyTestCase.Stefan van der Walt2008-07-091-1/+1
|
* Piecewise should not expose raw memory. Closes #798.Stefan van der Walt2008-07-081-4/+42
|
* BUG: Correctly stub out urllib2.urlopen() for tests given the refactoring of ↵Robert Kern2008-07-031-3/+9
| | | | the local imports.
* Clean up test output such that a completely-passing test suite has no ↵Robert Kern2008-07-031-2/+7
| | | | extraneous output.
* BUG: need to create exceptions correctly.Robert Kern2008-07-031-9/+15
|
* ENH: Add broadcast_arrays() function to expose broadcasting to pure Python ↵Robert Kern2008-07-031-0/+206
| | | | functions that cannot be made to be ufuncs.
* Reduce numpy's import times by delaying a few time consuming imports to the ↵Robert Kern2008-07-031-1/+2
| | | | point of actual use and global instantiations of finfo. Thanks to David Cournapeau for tracking down and fixing the import part of the problem.
* Remove uses of set_package_path, set_local_path, restore_path.Alan McIntyre2008-07-039-103/+53
| | | | | Clean up and (somewhat) standardize test module imports. Removed unneeded reload calls.
* Restore old test framework classes.Alan McIntyre2008-06-2115-18/+23
| | | | | | | | | | | Added numpy.testing.run_module_suite to simplify "if __name__ == '__main__'" boilerplate code in test modules. Removed numpy/testing/pkgtester.py since it just consisted of an import statement after porting SciPy r4424. Allow numpy.*.test() to accept the old keyword arguments (but issue a deprecation warning when old arguments are seen). numpy.*.test() returns a test result object as before. Fixed typo in distutils doc.
* Fix piecewise to handle 0-d inputs.Travis Oliphant2008-06-171-0/+7
|
* Switched to use nose to run tests. Added test and bench functions to all ↵Alan McIntyre2008-06-1715-299/+352
| | | | modules.
* fixed whitespace w/ reindentJarrod Millman2008-05-221-18/+18
|
* Suppress test output.Stefan van der Walt2008-05-011-2/+1
|
* Disable underflow warning reporting when testing for arch + test (#759).David Cournapeau2008-04-291-0/+31
|
* Support for multi formatting elements in savetxt [patch by David Huard].Stefan van der Walt2008-04-281-21/+20
| | | | Closes #663.
* Added an ignore warning in the test to avoid buildbot messages.dhuard2008-04-251-0/+2
|
* Modified histogram according to the discussion on the numpy ML.dhuard2008-04-251-2/+93
| | | | This transitions from the old behavior to the new behavior using the new keyword.
* ran reindent in preparation for the 1.1 releaseJarrod Millman2008-04-204-41/+41
|
* Fixing #738: Even more careful drive letter handling. And make the tests ↵Pauli Virtanen2008-04-191-2/+2
| | | | actually pass on Windows.
* Fix bug #738 and add corresponding tests.Pauli Virtanen2008-04-191-4/+51
| | | | | | | | lib._datasource.DataSource.abspath now sanitizes path names more carefully, making sure that all file paths reside in destdir, also on Windows. (Where both '/' and os.sep function as path separators, as far as os.path.join is concerned.)
* Don't require gzip or bz2 until the actual functionality is requested.Robert Kern2008-04-171-2/+14
|
* Added and fixed some tests for loadtxt and savetxt. Cleaned up the docstring ↵dhuard2008-04-161-6/+78
| | | | of savetxt, added some info on formatting.
* Fix fromregex, add documentation and tests [patch by Pauli Virtanen].Stefan van der Walt2008-04-121-19/+53
|
* Compare against native-endian types, not endian-specific types.Robert Kern2008-04-121-2/+2
|
* Add one more test from ticket #728Travis Oliphant2008-04-111-0/+4
|
* Fixed #728 scalar coercion problem with mixed types and r_Travis Oliphant2008-04-111-0/+4
|
* Added test for handling missing data using loadtxt.dhuard2008-04-091-0/+18
|
* Fix doc-tests for financial.py so they don't rely on floating-point ↵Travis Oliphant2008-04-081-19/+19
| | | | exactness. Start filling in final function.
* Add docs and examples for financial functions.Travis Oliphant2008-04-081-1/+1
|
* Modified io._getconv to allow loading values stored as float as integers ↵dhuard2008-04-041-0/+10
| | | | | | arrays. Added test to check the behavior as suggested in the comment from b. southey in ticket #623
* Add modified internal rate of return calculation which is more conservative ↵Travis Oliphant2008-04-041-0/+5
| | | | and takes into account re-investing profits and expense of financing losses.
* Add fromregex function (needs more testing) and some simple spreadsheet-like ↵Travis Oliphant2008-04-041-0/+34
| | | | financial calculations.
* added 1D tests for loadtxt and savetxt. Fixed a bugdhuard2008-04-031-0/+15
|
* Fixed a bug with loadtxt and savetxt failing on record arrays. This ↵dhuard2008-04-031-0/+52
| | | | | | addresses ticket #623. Added simple tests for loadtxt and savetxt.
* Add regression test for #628.David Cournapeau2008-03-211-0/+33
|
* Clean up of average function. weights now should have the same shape as a, ↵dhuard2008-03-191-10/+48
| | | | or be 1D with length equal to the shape of a along axis. A number of tests are added.
* Rewrite average and document it.Charles Harris2008-03-161-13/+12
| | | | | | Remove inappropriate test of average. This should close ticket 700, but someone else should check the documentation to see if the new function does what it is supposed to, whatever the heck that was.
* Fix polyfit for 2D case and add test for same. Fixes ticket 697.Charles Harris2008-03-151-0/+15
|
* Added a test for average. It uncovers a bug related to the shape of the weights.dhuard2008-03-141-0/+14
|
* Added test for 4D histogramdd case. Ticket 690.dhuard2008-03-141-9/+32
|
* Add datasource test file that didn't make it in the move from scipy.io to ↵chris.burns2008-02-121-0/+248
| | | | numpy.lib.
* ran reindentJarrod Millman2008-02-081-15/+13
|
* Removed dependency on nose.tools. Ripped nose.tools.raise and placed it in ↵Travis Oliphant2008-01-021-3/+1
| | | | numpy.testing
* Merge the lib_for_io branch back into the trunk.Travis Oliphant2007-12-301-0/+512
|\
| * Create a branch for io work in NumPyTravis Oliphant2007-12-159-1787/+0
| |
* | more janitorial workJarrod Millman2007-12-292-10/+8
| |
* | Add test for setdiff1d on character arrays.Stefan van der Walt2007-12-211-0/+4
|/