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

Increase code coverage for .py files #2268

Merged
merged 17 commits into from
Jan 22, 2025
Merged

Conversation

vlad-perevezentsev
Copy link
Collaborator

This PR suggests increasing code coverage by adding missing tests for uncovered lines of code for python files

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to 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?
  • If this PR is a work in progress, are you filing the PR as a draft?

@coveralls
Copy link
Collaborator

coveralls commented Jan 20, 2025

Coverage Status

coverage: 70.965% (+0.1%) from 70.856%
when pulling 624c97b on increase_coverage
into d415fe2 on master.

dpnp/tests/test_arraycreation.py Outdated Show resolved Hide resolved
dpnp/tests/test_arraycreation.py Outdated Show resolved Hide resolved
dpnp/tests/test_arraycreation.py Outdated Show resolved Hide resolved
dpnp/tests/test_arraycreation.py Outdated Show resolved Hide resolved
Copy link
Contributor

@antonwolfy antonwolfy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @vlad-perevezentsev for the improved tests coverage.

dpnp/tests/test_ndarray.py Outdated Show resolved Hide resolved
Copy link
Contributor

Array API standard conformance tests for dpnp=0.17.0dev4=py312he4f9c94_29 ran successfully.
Passed: 954
Failed: 0
Skipped: 46

@vlad-perevezentsev vlad-perevezentsev merged commit 5649b06 into master Jan 22, 2025
46 of 58 checks passed
@vlad-perevezentsev vlad-perevezentsev deleted the increase_coverage branch January 22, 2025 10:55
github-actions bot added a commit that referenced this pull request Jan 22, 2025
This PR suggests increasing code coverage by adding missing tests for
uncovered lines of code for `python` files
---------

Co-authored-by: Anton <[email protected]> 5649b06
vlad-perevezentsev added a commit that referenced this pull request Jan 22, 2025
This PR continues #2268 and suggests excluding some lines of code from
coverage using `pragma:: no cover` to increase the coverage statistic
github-actions bot added a commit that referenced this pull request Jan 22, 2025
This PR continues #2268 and suggests excluding some lines of code from
coverage using `pragma:: no cover` to increase the coverage statistic 094ab7c
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