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

RandomState is legacy #7

Open
Wrzlprmft opened this issue Jan 30, 2022 · 0 comments
Open

RandomState is legacy #7

Wrzlprmft opened this issue Jan 30, 2022 · 0 comments

Comments

@Wrzlprmft
Copy link

Wrzlprmft commented Jan 30, 2022

PyTest-RNG relies on RandomState, which is deprecated and now replaced by default_rng (Generator) or similar.

Unfortunately you cannot simply replace one with the other as this will break compatibility in random-number generation as well as API. For example randint is now integers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant