8000 API: Make datetime64 timezone naive by shoyer · Pull Request #6453 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

API: Make datetime64 timezone naive #6453

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 17, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
DOC: document changes to assert_warns
  • Loading branch information
shoyer committed Jan 17, 2016
commit da98bbc030c272edb1a8548a458b3957e29ce346
4 changes: 4 additions & 0 deletions doc/release/1.11.0-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ if the matrix product is between a matrix and its transpose, it will use

**Note:** Requires the transposed and non-transposed matrices to share data.

*np.testing.assert_warns* can now be used as a context manager
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This matches the behavior of ``assert_raises``.

Changes
=======
Pyrex support was removed from ``numpy.distutils``. The method
Expand Down
4 changes: 4 additions & 0 deletions numpy/testing/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1736,6 +1736,8 @@ def assert_warns(warning_class, *args, **kwargs):
with assert_warns(SomeWarning):
do_something()

The ability to be used as a context manager is new in NumPy v1.11.0.

.. versionadded:: 1.4.0

Parameters
Expand Down Expand Up @@ -1783,6 +1785,8 @@ def assert_no_warnings(*args, **kwargs):
with assert_no_warnings():
do_something()

The ability to be used as a context manager is new in NumPy v1.11.0.

.. versionadded:: 1.7.0

Parameters
Expand Down
0