Skip to content
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

#5740 follow up: supress xr.ufunc warnings in tests #5914

Merged
merged 1 commit into from
Oct 29, 2021

Conversation

mathause
Copy link
Collaborator

#5740 changed PendingDeprecationWarning to FutureWarning - suppress the warnings again in the test suite.

xarray/xarray/ufuncs.py

Lines 47 to 49 in 36f05d7

_warnings.warn(
"xarray.ufuncs is deprecated. Instead, use numpy ufuncs directly.",
FutureWarning,

@github-actions
Copy link
Contributor

Unit Test Results

         6 files           6 suites   54m 10s ⏱️
16 281 tests 14 545 ✔️ 1 736 💤 0
90 882 runs  82 702 ✔️ 8 180 💤 0

Results for commit 4c8b551.

@dcherian
Copy link
Contributor

Thanks @mathause

@dcherian dcherian merged commit ba00852 into pydata:main Oct 29, 2021
dcherian added a commit to dcherian/xarray that referenced this pull request Oct 29, 2021
* main:
  Add typing_extensions as a required dependency (pydata#5911)
  pydata#5740 follow up: supress xr.ufunc warnings in tests (pydata#5914)
  Avoid accessing slow .data in unstack (pydata#5906)
  Add wradlib to ecosystem in docs (pydata#5915)
  Use .to_numpy() for quantified facetgrids (pydata#5886)
  [test-upstream] fix pd skipna=None (pydata#5899)
  Add var and std to weighted computations (pydata#5870)
  Check for path-like objects rather than Path type, use os.fspath (pydata#5879)
  Handle single `PathLike` objects in `open_mfdataset()` (pydata#5884)
dcherian added a commit to dcherian/xarray that referenced this pull request Oct 29, 2021
* upstream/main:
  Add typing_extensions as a required dependency (pydata#5911)
  pydata#5740 follow up: supress xr.ufunc warnings in tests (pydata#5914)
  Avoid accessing slow .data in unstack (pydata#5906)
  Add wradlib to ecosystem in docs (pydata#5915)
  Use .to_numpy() for quantified facetgrids (pydata#5886)
  [test-upstream] fix pd skipna=None (pydata#5899)
  Add var and std to weighted computations (pydata#5870)
@mathause mathause deleted the suppress_xr_ufunc_warnings branch January 26, 2022 08:41
snowman2 pushed a commit to snowman2/xarray that referenced this pull request Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants