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

use the shuffle method of Random instead #1480

Merged
merged 1 commit into from May 31, 2020
Merged

use the shuffle method of Random instead #1480

merged 1 commit into from May 31, 2020

Conversation

asottile
Copy link
Member

resolves #1479

@@ -18,7 +18,7 @@
if TYPE_CHECKING:
from typing import NoReturn

FIXED_RANDOM_SEED = 1542676186
FIXED_RANDOM_SEED = 1542676187
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 changed this to keep a few 50/50 tests passing -- the switch from random= to not also changed the ordering

@asottile asottile merged commit 79359ed into master May 31, 2020
@asottile asottile deleted the random_meth branch May 31, 2020 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

random.shuffle's random= argument got deprecated
1 participant