diff options
| author | Charles Harris <charlesr.harris@gmail.com> | 2017-08-06 09:33:40 -0600 |
|---|---|---|
| committer | Charles Harris <charlesr.harris@gmail.com> | 2017-08-06 16:23:39 -0600 |
| commit | 62a12d2d6fe9faa88482a49447ebf4ed73a7e3a5 (patch) | |
| tree | 07bff386f8dd0fa5abd37cd71c0d776a818b07a9 /doc | |
| parent | 91b06c021319faccb008a8ee485d26ae227bf079 (diff) | |
| download | numpy-62a12d2d6fe9faa88482a49447ebf4ed73a7e3a5.tar.gz | |
TST, MAINT: Add `__init__.py` files to tests directories.
This allows pytest to run with duplicate test file names. Note that
`python <path-to-test-file>` no longer works with this change, nor will
a simple `pytest numpy`, because numpy is imported from the numpy
repository. However, `python runtests.py` and `>>> numpy.test()` are
still available.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/release/1.14.0-notes.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/release/1.14.0-notes.rst b/doc/release/1.14.0-notes.rst index 0ca7b7ddf..4b095cc38 100644 --- a/doc/release/1.14.0-notes.rst +++ b/doc/release/1.14.0-notes.rst @@ -88,6 +88,12 @@ passed, despite not doing so under the simple cases:: This change affects only ``float32`` and ``float16`` arrays. +``__init__.py`` files added to test directories +----------------------------------------------- +This is for pytest compatibility in the case of duplicate test file names in +the different directories. As a result, ``run_module_suite`` no longer works, +i.e., ``python <path-to-test-file>`` results in an error. + C API changes ============= @@ -125,6 +131,7 @@ Chebyshev points of the first kind. A new ``Chebyshev.interpolate`` class method adds support for interpolation over arbitrary intervals using the scaled and shifted Chebyshev points of the first kind. + Improvements ============ |
