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

Fix tests on Julia 1.6 #606

Merged
merged 1 commit into from
Oct 4, 2020
Merged

Fix tests on Julia 1.6 #606

merged 1 commit into from
Oct 4, 2020

Conversation

nalimilan
Copy link
Member

@printf(stdout,"<1e%2.2d", -4) now correctly gives "<1e-04", which allows the values to be always aligned (the column has always a 6-character width).

`@printf(stdout,"<1e%2.2d", -4)` now correctly gives `"<1e-04"`, which allows the values to be always aligned (the column has always a 6-character width).
@nalimilan nalimilan merged commit 0ffe2e2 into master Oct 4, 2020
@nalimilan nalimilan deleted the nl/test branch October 4, 2020 17:49
@kleinschmidt
Copy link
Member

This is causes test in StatsModels and GLM (and probably others) to break on 1.6. Here's an example of one that's failing:

https://github.com/JuliaStats/StatsModels.jl/blob/0ba8a8826e84883e7281ef033fe68d5f861837f0/test/statsmodel.jl#L279-L286

These tests all expect the p value to be printed like <1e-4.

@kleinschmidt
Copy link
Member

Oh I see you've only changed the TEST here, not the actual printing. I guess my question is why the printing changed in the first place?

@mschauer
Copy link
Member

mschauer commented Dec 2, 2020

Ref JuliaLang/julia#32859

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants