Skip to content

[Feature Request] Prevent tests from leaking seeds from one test to another #313

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

Open
vmoens opened this issue Jul 21, 2022 · 0 comments
Open
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@vmoens
Copy link
Contributor

vmoens commented Jul 21, 2022

Motivation

Using manual_seed as a global seeding mechanism makes tests inter-dependent. This is not desirable.
vision provides a custom fix for that.

Solution

Copy-paste the §prevent_leaking_rng` from vision.

@vmoens vmoens added bug Something isn't working enhancement New feature or request labels Jul 21, 2022
@vmoens vmoens self-assigned this Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant