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 seed for random test data. #9844

Merged
merged 6 commits into from
Dec 3, 2024
Merged

Conversation

dcherian
Copy link
Contributor

@dcherian dcherian commented Dec 2, 2024

Also switch to using the recommended default_rng instead of RandomState.

Also switch to using default_rng instead of RandomState.
@@ -298,12 +298,12 @@ def assert_allclose(a, b, check_default_indexes=True, **kwargs):


def create_test_data(
seed: int | None = None,
seed: int = 12345,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is the real change, the rest is just find+replace

@dcherian dcherian marked this pull request as ready for review December 2, 2024 15:13
@dcherian dcherian added the plan to merge Final call for comments label Dec 2, 2024
@dcherian dcherian merged commit 7445012 into pydata:main Dec 3, 2024
33 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plan to merge Final call for comments
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants