diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2018-04-04 07:15:22 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2018-04-04 07:15:22 -0600 |
commit | fedcb3d1276f7f9ff92ef260ac1bfa6b31690742 (patch) | |
tree | ecd3470a24f8f000b8ed61cd4c2c21c879f3207b | |
parent | 7f68c8a6a38049284fcdfd80c8c983996f0383f8 (diff) | |
download | numpy-fedcb3d1276f7f9ff92ef260ac1bfa6b31690742.tar.gz |
DOC: Note the switch to pytest in the 1.15.0 release notes.
-rw-r--r-- | doc/release/1.15.0-notes.rst | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/doc/release/1.15.0-notes.rst b/doc/release/1.15.0-notes.rst index 06c874c59..4a69c1522 100644 --- a/doc/release/1.15.0-notes.rst +++ b/doc/release/1.15.0-notes.rst @@ -6,6 +6,8 @@ NumPy 1.15.0 Release Notes Highlights ========== +* NumPy has switched to pytest for testing. + New functions ============= @@ -37,6 +39,13 @@ Deprecations * `np.ma.loads`, `np.ma.dumps` * `np.ma.load`, `np.ma.dump` - these functions already failed on python 3, when called with a string. +* Direct imports from the following modules is deprecated. All testing related + imports should come from `numpy.testing`. + * `np.testing.utils` + * `np.testing.decorators` + * `np.testing.nosetester` + * `np.testing.noseclasses` + * `np.core.umath_tests` Future Changes @@ -46,6 +55,16 @@ Future Changes Compatibility notes =================== +Numpy has switched to using pytest instead of nose for testing +-------------------------------------------------------------- +The last nose release was 1.3.7 in June, 2015, and development of that tool has +ended, consequently NumPy has now switched to using pytest. The old decorators +and nose tools that were previously used by some downstream projects remain +available, but will not be maintained. The standard testing utilities, +`assert_almost_equal` and such, are not be affected by this change except for +the nose specific functions `import_nose` and `raises`. Those functions are +not used in numpy, but are kept for downstream compatibility. + ``np.ma.notmasked_contiguous`` and ``np.ma.flatnotmasked_contiguous`` always return lists ----------------------------------------------------------------------------------------- This was always the documented behavior, but in reality the result used to be @@ -71,7 +90,6 @@ builtin arbitrary-precision `Decimal` and `long` types. Support for cross-platform builds for iOS ----------------------------------------- - The build system has been modified to add support for the ``_PYTHON_HOST_PLATFORM`` environment variable, used by ``distutils`` when compiling on one platform for another platform. This makes it possible to |