summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/test_quoted_character.py
Commit message (Collapse)AuthorAgeFilesLines
* MAINT,TST: Reduce np.testing to IS_PYPYRohit Goswami2021-12-061-2/+1
| | | | Co-authored-by: Melissa Weber Mendonça <melissawm@gmail.com>
* MAINT,TST: Refactor F2PY testsRohit Goswami2021-12-061-16/+1
|
* MAINT: Rework whitespace to pass PR checksRohit Goswami2021-12-051-3/+3
| | | | Co-authored-by: Charles Harris <charlesr.harris@gmail.com>
* MAINT: cleanup unused imports; avoid redefinition of importsMike Taves2020-02-061-1/+0
| | | | | | | * Cleanup unused imports (F401) of mostly standard Python modules, or some internal but unlikely referenced modules * Where internal imports are potentially used, mark with noqa * Avoid redefinition of imports (F811)
* 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.
* MAINT: Review F401,F841,F842 flake8 errors (unused variables and imports) ↵Roman Yurchak2018-12-061-4/+0
| | | | | | | | | | | | (#12448) * Review F401,F841,F842 flake8 errors (unused variables, imports) * Review comments * More tests in test_installed_npymath_ini * Review comments
* TST, MAINT: Separate f2py compile function testing into own fileCharles Harris2018-09-201-105/+4
| | | | | | | 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.
* MAINT: remove exec_command() from f2py initTyler Reddy2018-09-181-0/+110
| | | | | * replaced the usage of exec_command() in the f2py init with standard library equivalent
* MAINT: Remove all uses of run_module_suite.Charles Harris2018-04-061-4/+1
| | | | | That function is nose specific and has not worked since `__init__` files were added to the tests directories.
* TST: Switch to using pytest markersCharles Harris2018-04-041-6/+7
| | | | | | | | | | | Use standard pytest markers everywhere in the numpy tests. At this point there should be no nose dependency. However, nose is required to test the legacy decorators if so desired. At this point, numpy test cannot be run in the way with runtests, rather installed numpy can be tested with `pytest --pyargs numpy` as long as that is not run from the repo. Run it from the tools directory or some such.
* BUG: F2py mishandles quoted control characters (#10676)bobeldering2018-03-041-0/+32
* BUG: improve parsing of quoted control characters in numpy.f2py. See #10634. Fixes a couple of cases where quoted control characters are parsed as if they are unquoted. The control characters considered are "()!;". * TST: quoted characters parsing by numpy.f2py. Basic test of parsing quoted Fortran control characters. See #10634. * BUG: add missing space character when reconstructing fortran line. The missing space caused a line starting with "!f2py" to be considered a continuation line.