-
-
Notifications
You must be signed in to change notification settings - Fork 26.1k
TST fix test_dtype_preprocess_data #31935
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
TST fix test_dtype_preprocess_data #31935
Conversation
@lesteve ping |
test_dtype_preprocess_data
I know you don't like people pushing to your branch but that's an empty commit, so hopefully you don't mind too much 😅. Basically I don't think your previous commit was following the guideline in #28959 which means that this wasn't testing all the global random seeds in the CI. I gave it a go, we'll see what happens ... |
With my latest commit, the build log looks like it is testing all the global random seeds for |
OK the tests pass in the CI with all the global random seeds, and the previous commit was actually a normal CI which was green, so let's merge this one! |
This case is fine where you actually finished this trivial piece, so thank you @lesteve !
I don't understand. I followed the current description on our website and both you and I pushed an empty commit with "[all random seeds]" in the message. |
Note that my commmit message has a second line with the name of the test I wanted to run. Your commit message had a single line and apparently this runs the test suite normally in this case. As mentioned in #28959 the format of the commit message is something like this:
|
Thanks for the explanation. That knowledge would ideally live in the developer docs, don't you think? On my side: I search the code base for "[all random seeds]" very quickly and I should have read the docstring a bit more focused. |
Reference Issues/PRs
Fixes #31418 (comment).
Close #31913
What does this implement/fix? Explain your changes.
test_dtype_preprocess_data
fails for a few values ofSKLEARN_TESTS_GLOBAL_RANDOM_SEED
.Any other comments?