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

Fix some deprecation warnings from tests #469

Merged
merged 4 commits into from
Dec 4, 2023
Merged

Conversation

takluyver
Copy link
Member

  • np.product() is deprecated in favour of np.prod()
  • datetime.utcnow() is deprecated in Python 3.12, because it gives a UTC timestamp without timezone information
  • There was a warning from numpy because the JUNGFRAU mock data had uint16 masks when they should be uint32.

@takluyver takluyver added this to the 1.16 milestone Dec 1, 2023
@takluyver takluyver marked this pull request as ready for review December 1, 2023 21:32
@tmichela
Copy link
Member

tmichela commented Dec 4, 2023

LGTM

@takluyver takluyver merged commit 3d1c7b1 into master Dec 4, 2023
9 of 10 checks passed
@takluyver takluyver deleted the fix/deprecations branch December 4, 2023 10:22
@takluyver
Copy link
Member Author

prnote: Fixed a selection of deprecation warnings.

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