-
-
Notifications
You must be signed in to change notification settings - Fork 688
Make tests pass with GAP 4.15 #40919
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
Conversation
|
Documentation preview for this PR (built with commit 733c477; changes) is ready! 🎉 |
|
Not sure if you addressed this already, but it seems that some tests are now really slow: |
By "now" do you mean with GAP 4.15? This PR only changes the expected output of some tests |
|
Yes, sorry, I should have been more clear. The test I mentioned seems to be a lot slower on GAP 4.15 than it was on GAP 4.14. More specifically, testing |
Indeed. I have reported it upstream at gap-system/gap#6135 |
|
Tests are passing now with GAP 4.14 and 4.15 modulo the upstream bugs gap-system/gap#6133 and gap-system/gap#6135, ready for review |
|
the GAP4.15.1 is out. |
|
All tests pass now with unpatched 4.15.1 |
Thank you. I want to know just using random is ok? |
For the examples in the doc source files it should be, those are already widely tested in the code itself. |
Thank you. I will set positive review. |
|
Adding We can check the GAP version with |
I'm aware of that, but that is not something that would look good in an examples block in the middle of an html documentation page whose main purpose is to teach users how sage works. I actually question the need to test documentation source files at all, which just repreat the tests that have already been run in the main code up to 10 times (once per language). |
I don't think re-testing the code was ever the intention. It helps keep the documentation from falling out of date. Right now, looks reasonable because we know what it does in both recent versions of GAP, and "random" means "ignore minor (mathematically unimportant) differences." But this test will continue to pass if someone deletes the |
Well, if someone deletes the method this test would throw an error. The worst that could happen is that some output format changes are not reflected in the documentation. I see this as any other instance of manually maintained docs getting out of date. Ideally there would be a way to "link" an examples block from a py file in the rst file so the changes would automatically be picked up. |
sagemathgh-40919: Make tests pass with GAP 4.15 GAP 4.15 causes a few test failures caused mostly by different ordering of group characters and different elements returned for `an_element` in group algebras, make test pass with both old and new versions. URL: sagemath#40919 Reported by: Antonio Rojas Reviewer(s):
GAP 4.15 causes a few test failures caused mostly by different ordering of group characters and different elements returned for
an_elementin group algebras, make test pass with both old and new versions.