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

test: Add more tests for list arithmetic #19225

Merged
merged 2 commits into from
Oct 14, 2024

Conversation

nameexhaustion
Copy link
Collaborator

@nameexhaustion nameexhaustion commented Oct 14, 2024

Check in some more tests to be extra sure of correctness

@github-actions github-actions bot added internal An internal refactor or improvement python Related to Python Polars labels Oct 14, 2024

@pytest.mark.parametrize("broadcast", [True, False])
@pytest.mark.parametrize("dtype", [pl.Int64(), pl.Float64()])
def test_list_arithmetic_div_ops_zero_denominator(
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Tests below here were written from before I came up with the parametrization approach

Copy link

codecov bot commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.99%. Comparing base (f7c6a05) to head (a3216e9).
Report is 50 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #19225      +/-   ##
==========================================
- Coverage   80.00%   79.99%   -0.01%     
==========================================
  Files        1527     1527              
  Lines      209203   209203              
  Branches     2415     2415              
==========================================
- Hits       167369   167360       -9     
- Misses      41286    41295       +9     
  Partials      548      548              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ritchie46 ritchie46 changed the title refactor(python): Add more tests for list arithmetic test: Add more tests for list arithmetic Oct 14, 2024
@github-actions github-actions bot added the rust Related to Rust Polars label Oct 14, 2024
@ritchie46 ritchie46 merged commit 900dc3b into pola-rs:main Oct 14, 2024
16 checks passed
@c-peters c-peters added the accepted Ready for implementation label Oct 21, 2024
@nameexhaustion nameexhaustion deleted the list-arith-tests branch October 28, 2024 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Ready for implementation internal An internal refactor or improvement python Related to Python Polars rust Related to Rust Polars
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants