summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests
Commit message (Collapse)AuthorAgeFilesLines
* TST: Skip tests that are not currently supported in wasmHood Chatham2022-11-112-1/+7
|
* TST: Rename setup to setup_method in f2py utils (inherited into Tests)Sebastian Berg2022-10-272-2/+2
|
* TST,MAINT: Replace most `setup` with `setup_method` (also teardown)Sebastian Berg2022-10-271-2/+2
| | | | | | | | In some cases, the replacement is clearly not what is intended, in those (where setup was called explicitly), I mostly renamed `setup` to `_setup`. The `test_ccompile_opt` is a bit confusing, so left it right now (this will probably fail)
* TST: Further test fixup for python integer conversion warningSebastian Berg2022-10-061-1/+1
|
* TST: Fixup tests for strict Python integer conversionsSebastian Berg2022-10-052-2/+2
|
* Merge pull request #21807 from HaoZeke/useFortranValueMelissa Weber Mendonça2022-07-022-0/+23
|\
| * TST: Ensure the f2py value attribute is handledRohit Goswami2022-06-212-0/+23
| |
* | TST: Tighten test_gen_pyf_stdout checkNamami Shanker2022-06-231-0/+1
| |
* | TST: Add f2py2e f2cmap flag testNamami Shanker2022-06-231-3/+23
|/
* TST: Ensure long_long in f2cmap worksRohit Goswami2022-06-103-0/+25
|
* Merge pull request #19388 from pearu/enh-f2py-character-supportMelissa Weber Mendonça2022-06-068-29/+749
|\ | | | | Co-authored-by: Rohit Goswami <rog32@hi.is>
| * MAINT,DOC: Fix doc fragments and testsRohit Goswami2022-06-051-1/+1
| |
| * TST: Fix build by changing call signatureRohit Goswami2022-06-051-1/+1
| |
| * ENH: Support character string arraysPearu Peterson2022-06-058-29/+749
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TST: added test for issue #18684 ENH: f2py opens files with correct encoding, fixes #635 TST: added test for issue #6308 TST: added test for issue #4519 TST: added test for issue #3425 ENH: Implement user-defined hooks support for post-processing f2py data structure. Implement character BC hook. ENH: Add support for detecting utf-16 and utf-32 encodings.
* | ENH: complete the 'vars' list of a moduleDamien Caliste2022-06-052-0/+19
|/ | | | | | Add to the 'vars' list of a module missing subroutines or functions listed in the 'body' that have not been explicitely declared 'public' or 'private'.
* TST: Handle compiler checks for PYFRohit Goswami2022-05-281-4/+9
|
* MAINT: Skip F2PY tests without Fortran compilersRohit Goswami2022-05-271-4/+4
|
* TST: Kill buggy 32-bit testsRohit Goswami2022-04-302-0/+14
|
* BUG: Fix handling of skip-empty-wrappersRohit Goswami2022-04-301-2/+2
|
* MAINT: Skip buggy windows testRohit Goswami2022-04-301-2/+2
|
* TST: Initialize f2py2e tests of the F2PY CLI (#20668)Rohit Goswami2022-04-013-0/+754
| | | | | Increases F2PY coverage by around 15 percent. For the CLI itself it covers the major features (around 70 percent), with the exception of mostly numpy.distutils stuff. More importantly, sets the groundwork for #20056, in that passing the same testsuite should indicate feature parity.
* BUG,ENH: Fix negative bounds for F2PY (#21256)Rohit Goswami2022-03-312-0/+26
| | | Co-authored-by: Pearu Peterson <pearu.peterson@gmail.com>
* Merge pull request #15844 from dcaliste/typeMelissa Weber Mendonça2022-01-172-0/+22
|\
| * ENH: add inline definition of access rights for Fortran typesDamien Caliste2022-01-042-0/+22
| | | | | | | | | | | | Allow to parse type definition with inline acess specifier, like: type, public :: foo end type foo
* | BUG, DOC: Fixes SciPy docs build warningsmelissawm2022-01-111-1/+1
| | | | | | | | | | | | | | The new f2py symbolic parser writes ternary expressions with spaces surrounding the colon operator, which causes the generated docstrings to be incorrectly parsed. Removing the spaces solves the issue.
* | ENH: add support for operator() in crackfortran.Damien Caliste2022-01-042-0/+69
|/ | | | | | | | | | | | | | Some interface name may contains parenthesis when used with operator, like: interface operator(==) module procedure my_type_equals end interface operator(==) Make the end part properly detected, and store also the operator ('==' in that case) in the name. Also implement support to list the implemented by in any interface declaration.
* BUG: Fix array dimensions solver for multidimensional arguments in f2py (#20721)Pearu Peterson2022-01-041-3/+5
| | | * BUG: Fix array dimensions solver for multidimensional arguments in f2py. See #20709
* DEP: remove NPY_ARRAY_UPDATEIFCOPY, deprecated in 1.14 (#20589)Matti Picus2021-12-182-2/+0
| | | | | | | | | | | | | * DEP: remove NPY_ARRAY_UPDATEIFCOPY, deprecated in 1.14 * remove more UPDATEIFCOPY * typo: add missing comma * remove a few more UPDATEIFCOPY * Add release note * remove UPDATEIFCOPY from comment (from review)
* MAINT,TST: Reduce np.testing to IS_PYPYRohit Goswami2021-12-0623-399/+336
| | | | Co-authored-by: Melissa Weber Mendonça <melissawm@gmail.com>
* MAINT,TST: Refactor F2PY testsRohit Goswami2021-12-0636-887/+831
|
* MAINT: Update to better python stylesRohit Goswami2021-12-054-45/+43
| | | | Co-authored-by: Pearu Peterson <pearu.peterson@gmail.com>
* MAINT: Rework whitespace to pass PR checksRohit Goswami2021-12-0524-737/+880
| | | | Co-authored-by: Charles Harris <charlesr.harris@gmail.com>
* TST,STY: Use a context manager for F2PY functionsRohit Goswami2021-12-032-22/+25
|
* TST,STY: Clean up F2PY tests for pathlib.PathRohit Goswami2021-12-0312-72/+46
|
* STY: F2PY tests shouldn't printRohit Goswami2021-11-281-9/+0
|
* TST,MAINT: Fix F2PY test typoRohit Goswami2021-11-281-1/+1
|
* MAINT: remove unused importsAlessia Marcolini2021-10-082-4/+0
|
* Merge pull request #19997 from HaoZeke/f2py_tabsCharles Harris2021-10-041-3/+3
|\ | | | | STY: Harmonize rules with cb_rules for f2py
| * MAINT: Reviewer commentsRohit Goswami2021-09-301-5/+5
| | | | | | | | Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
| * STY: Kill all \t with fire in f2pyRohit Goswami2021-09-291-2/+2
| |
* | BUG: avoid infinite recurrence on dependencies in crackfortranDamien Caliste2021-10-011-0/+17
|/
* MAINT: Minor cleanups after merging gh-19805Charles Harris2021-09-261-2/+2
| | | | | - Spelling fixes - Release note fragment for gh-19805.
* Merge pull request #19805 from pearu/gh-8062-dimdecsCharles Harris2021-09-262-0/+561
|\ | | | | ENH: Symbolic solver for dimension specifications.
| * Fix a bug in dependencies. Implement support for relational operations.Pearu Peterson2021-09-031-1/+37
| |
| * Add ternary, ref, and deref expressions support.Pearu Peterson2021-09-031-18/+49
| |
| * ENH: [f2py] Symbolic solver for dimension specifications.Pearu Peterson2021-09-012-0/+494
| |
* | DOC: Typos found by codespellDimitri Papadopoulos2021-09-211-2/+2
| |
* | Merge pull request #19810 from charris/update-some-includesCharles Harris2021-09-031-1/+3
|\ \ | | | | | | MAINT: Minor include rationalizations.
| * | MAIN: Minor include rationalization.Charles Harris2021-09-031-1/+3
| |/ | | | | | | | | | | | | - Replace "Python.h" by <Python.h> - Replace "structmember.h" by <structmember.h> - Replace <npy_config> by "npy_config" - Define PY_SSIZE_T_CLEAN before all Python.h includes in .c files.
* | MAINT: revise OSError aliases (IOError, EnvironmentError)Mike Taves2021-09-021-1/+1
|/