-
Notifications
You must be signed in to change notification settings - Fork 433
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 to allow ancestor_too_old() tests to be done #1776
Conversation
The failures in the unit tests are probably expected as a result of the bug fix
|
fyi probably_alive code being updated by |
Enabling the unit tests that were skipped by mistake is obviously a good idea. However, I cannot merge this with failing unit tests. |
The unit test result differences are effectively counting the number of errors that this bug has caused. The unit test result is simply a number that enforces bug-compatibility with current code. So, should I be incorporating the modified unit test result numbers in the same PR? (you can tell I've not done this sort of stuff before). However, it is probably not worth the effort to document "why" in more detail, when this change is also in the more substantial reworking in #1790 where errors in the unit tests are analysed in more detail. That code change is completed, as far as I am concerned. |
Previous code did not clear the self.pset list between running descendant test and ancestor test, so ancestor test code assumed all persons had already been checked. Fixes #13433.
549916c
to
6116c4f
Compare
OK. I have rebased this onto the master branch. We can review it alongside PR #1790. |
Closing this as it is part of #1790. |
When calling probably_alive, the previous code did not clear the self.pset list between running descendant test and ancestor test, so the ancestor test code assumed all persons had already been checked and was never executed.
This bug and fix is easier to evaluate if patch for bug #13431 has been applied - that is just to improve debug output.