-
Notifications
You must be signed in to change notification settings - Fork 576
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
test error for order of printed argument with python 3.11 #3750
Comments
@ymzayek : I will have a look at this. |
This is a zombie "bug" 🧟 (it comes back from the dead) or a unsinkable rubber bug (it keeps coming back up). https://github.com/nilearn/nilearn/actions/runs/5269060267/jobs/9526640379#step:8:14682 |
Thought: do we have to treat VALID_REORDER_ARGS (and therefore also VALID_REORDER_VALUES) variable as a set? Can't it be a list or tuple? Can we mimick what the function above that ( |
Pretty sure that this failure is now just due to some regular expression special character escaping so I am implementing your suggestion of using re.escape from #3751. |
Yea it's true that in any case you have to escape (e.g. escape the brackets for a list). I think re.escape is good as we want to have an exact match but if it's not working for whatever reason let's just go with a regex matching the first part of that warning which is what you initially implemented |
OK: if I see that test fail one more time I will go with this. Sounds way more pragmatic. |
OK pragmatism will prevail... |
See in a few runs of CI
For example
The text was updated successfully, but these errors were encountered: