-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Fix tests for current Julia nightly #529
Conversation
Looks like I should have checked on current current Julia nightly... Will look into the remaining failures. Meanwhile CC @nalimilan for the |
Thanks. I don't think we should add a deprecation to Regarding |
|
The remaining failure is not just a problem with the tests. So I propose we merge this as is, which will enable a future PR fixing |
I'd rather wait until we have a clearer view of what we want to do, or disable/remove the |
Yep, will do. But note that it's also the |
73fb8bb
to
0d77275
Compare
Ah, test failures on the out-of-data Julia nightlies are due to a mistake in #530. I'll add the fix to this PR to verify I get CI green... |
Even where `Base` has these methods, we still need to provide them as methods to the corresponding `Compat` functions.
Good to go? |
The first commit replaces calls to
CartesianIndices(1:3, 1:2)
withCartesianIndices((Base.OneTo(3), Base.OneTo(2)))
. The former now gives an error when used for indexing, e.g.:Is that supposed to happen, @mbauman?
The second commit removes the test
findfirst
onIOBuffer
as Julia removed support for it in JuliaLang/julia#26600. Should we also add a deprecated method tofindfirst
, using the definition of the deprecatedsearch
, i.e. https://github.com/JuliaLang/julia/blob/278a2893b8b02d6063ee4b1717c201c3431cb042/base/deprecated.jl#L1565-L1571 ?