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

feat(python): In hypothesis testing strategies, enable Decimal strategy by default #15321

Merged
merged 3 commits into from
Mar 27, 2024

Conversation

stinodego
Copy link
Member

@stinodego stinodego commented Mar 27, 2024

Enabling this already helped me catch a bug. Let's enable it by default - our Decimals are a lot better supported already.

@github-actions github-actions bot added enhancement New feature or an improvement of an existing feature python Related to Python Polars labels Mar 27, 2024
@@ -10,24 +10,6 @@
from polars.testing import assert_series_equal
from polars.testing.parametric import series

# TODO: once Decimal is a little further along, start actively probing it
Copy link
Member Author

Choose a reason for hiding this comment

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

I removed this TODO, because we already have tests for to_list, and for the strategy itself. More tests are always welcome, but don't have to be a TODO like this.

@stinodego stinodego marked this pull request as ready for review March 27, 2024 10:28
@stinodego stinodego merged commit 03c5f73 into main Mar 27, 2024
14 checks passed
@stinodego stinodego deleted the hypothesis-decimal branch March 27, 2024 10:38
@alexander-beedie
Copy link
Collaborator

alexander-beedie commented Mar 27, 2024

Good to see...
"Brace yourself" 😎

@c-peters c-peters added the accepted Ready for implementation label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Ready for implementation enhancement New feature or an improvement of an existing feature python Related to Python Polars
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants