Skip to content

Fix DeprecationWarning in TestInterp for unsigned integer dtypes #2450

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 2 commits into from
May 15, 2025

Conversation

vlad-perevezentsev
Copy link
Collaborator

This PR suggests update TestInterp::test_left_right_args to avoid DeprecationWarning that occurs when using negative values with unsigned integer dtypes (when DPNP_TEST_ALL_INT_TYPES=1)

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

Copy link
Contributor

github-actions bot commented May 14, 2025

View rendered docs @ https://intelpython.github.io/dpnp/index.html

@coveralls
Copy link
Collaborator

coveralls commented May 14, 2025

Coverage Status

coverage: 71.711%. remained the same
when pulling 3eb85fe on fix_warnings_interp
into 8b4a332 on master.

Copy link
Contributor

github-actions bot commented May 14, 2025

Array API standard conformance tests for dpnp=0.18.0dev2=py312he4f9c94_15 ran successfully.
Passed: 1229
Failed: 0
Skipped: 9

@antonwolfy antonwolfy merged commit 8c1b28e into master May 15, 2025
61 of 68 checks passed
@antonwolfy antonwolfy deleted the fix_warnings_interp branch May 15, 2025 10:28
github-actions bot added a commit that referenced this pull request May 15, 2025
…2450)

This PR suggests update `TestInterp::test_left_right_args` to avoid
`DeprecationWarning` that occurs when using negative values with
unsigned integer dtypes (when DPNP_TEST_ALL_INT_TYPES=1) 8c1b28e
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.

3 participants