summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/test_compile_function.py
Commit message (Collapse)AuthorAgeFilesLines
* MAINT,TST: Reduce np.testing to IS_PYPYRohit Goswami2021-12-061-6/+5
| | | | Co-authored-by: Melissa Weber Mendonça <melissawm@gmail.com>
* MAINT: Rework whitespace to pass PR checksRohit Goswami2021-12-051-29/+29
| | | | Co-authored-by: Charles Harris <charlesr.harris@gmail.com>
* TST,STY: Use a context manager for F2PY functionsRohit Goswami2021-12-031-20/+13
|
* MAINT: Remove sys.version checks in testsSeth Troisi2020-01-151-2/+0
|
* MAINT: Remove unnecessary 'from __future__ import ...' statementsJon Dufresne2020-01-031-2/+0
| | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
* BUG: Further, followup f2py reference count fixesSebastian Berg2019-08-191-0/+4
| | | | | | | | Note that the extension module dict seems to be never dereferenced (there is an additional reference to it kept around somewhere). This reference seems to part of the C python module loading (possibly intentionally), and I could not find how to remove it or where it originates from.
* BUG: Fix testing of f2py.compile from strings.Charles Harris2019-01-201-0/+17
| | | | | | | The test should not be run if there is no Fortran compiler. This PR moves it to `numpy/f2py/tests/test_compile_function.py`, which is appropriate for the test and a place where the presence of the needed compilers is already checked for.
* BUG: Fix f2py test_compile_function.py tests.Charles Harris2018-09-211-74/+61
| | | | | | The tests were failing on platforms without a fortran compiler as that was not being checked for. Add that check among others and clean up the test functions a bit.
* TST, MAINT: Separate f2py compile function testing into own fileCharles Harris2018-09-201-0/+121
Create new file `test_compile_function.py` for the test, transferring the content from `test_quoted_characters.py` where it was before. The tricky part here is maintaining the history in both files after the move.