summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/src
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Hard tab and whitespace cleanup.Charles Harris2018-03-081-13/+13
|
* DEP, ENH: deprecate UPDATEIFCOPY (except for nditer) and replace with ↵Matti Picus2017-11-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WRITEBACKIFCOPY (#9639) * ENH: add API to resolve UPDATEONCOPY outside dealloc, test and use * BUG: Fix usage of keyword "from" as argument name for "can_cast". Also removed inconsistency between the second argument name between documentation ("totype") and code ("to"). * UPDATEIFCOPY -> WRITEBACKIFCOPY, documentation * fixes for review * review2, fix new test * fix new test for using self.assert_deprecated * change deprecation logic as per review * new logic exposed places where PyArray_ResolveWritebackIfCopy not called * deprecate PyArray_XDECREF_ERR in favor of PyArray_DiscardWritebackIfCopy * code review changes * clean up merge cruft * fix from review * fixes from review * extend the release note
* TST: add test case described in ticket 9228 for numpy.f2pyBob Eldering2017-06-131-0/+11
|
* TST: add a char array input testJulian Taylor2017-05-021-0/+29
|
* TST: adding test for constants without compound kind specjutke2017-01-201-0/+23
| | | | | | | This augments the test in constant_compound.f90 by using constants without a compound kind spec to illustrate the case that led to the reporting of issue #8493
* TST: adding tests for compound constant provided by @zerothijutke2017-01-201-0/+15
| | | | | This is a test code provided as a patch by @zerothi checking the compound constant parsing.
* BUG: fixed kind specifications for parametersNick Papior2016-11-273-0/+102
| | | | | | | | | | | | | Fortran sources with parameters having kind-specifiers where not correctly intercepted in the crackfortran.py source. The reason was a restrictive check for only integer specifiers which did not split real's into the correct number. Furthermore, several tests has been added which tests the different kind specifiers and their use in codes, also all of them together. Signed-off-by: Nick Papior <nickpapior@gmail.com>
* DEP: removed deprecated API calls from test code (wrapmodule.c)Chris Kerr2014-11-101-31/+31
|
* TST: Add basic test for compiling with intent(in out).Charles Harris2014-10-091-0/+9
| | | | | This checks that the compilation works and that the expected error is raised when non-contiguous arrays are passed as intent(in out).
* Use PyMODINIT_FUNC and update docs accordingly.cgohlke2012-09-021-1/+1
| | | | See https://github.com/scipy/scipy/pull/279
* STY: f2py - replace macros in old_defines.h with new.Charles Harris2012-02-041-26/+26
|
* BUG: Fix two argument size support for Fortran module routines. Reverted ↵Pearu Peterson2011-05-061-0/+30
| | | | size-to-shape mapping patch and implemented two argument size function in C.
* BUG: Fix assumed shape support for module routines.Pearu Peterson2011-05-061-0/+41
|
* BUG: Fix memory leak in f2py_rout_wrap_call test.Michael Droettboom2011-05-021-1/+3
|
* ENH: f2py: support Fortran size function with two arguments (ticket #1765).Pearu Peterson2011-03-131-0/+14
|
* Implemented selected_real_kind evaluation, added tests to catch processor ↵Pearu Peterson2011-02-271-0/+20
| | | | dependencies..
* Fix assumed shape support for routines that use modules. Improved ↵Pearu Peterson2011-02-273-0/+24
| | | | .f2py_f2cmap messages.
* WIP: implemented assumed shape support for Fortran subroutines.Pearu Peterson2011-02-261-3/+3
|
* WIP: added assumed shape array support to Fortran functions.Pearu Peterson2011-02-251-0/+34
|
* 3K: f2py: port the array_from_pyobj test module to Py3Pauli Virtanen2010-03-061-1/+26
|
* ENH: f2py: convert test suite to Nose formPauli Virtanen2010-03-064-0/+217
Rewrite F2Py's test suite, so that it is run as a part of Numpy's tests. These tests require compiling extension modules on-the-fly, so I added a small helper module for that.