Closed bonjourmauko closed 9 months ago
@maukoquiroga could you run the openfisca-france test suite with this version of core so we stress test it in real conditions and avoid some problem down the roads.
@benjello :
2380 passed, 313 warnings in 873.19s (0:14:33)
Thanks @maukoquiroga!
I can't evaluate the relevance of the documentation itself. @benjello maybe?
Thanks @MattiSG . The documentation contains unit tests, maybe you could have an input on that.
Thanks @MattiSG :) With lots of syntax improvements and doc, my hope is it'll be easier to propose and review big changes in the future without breaking things unadvertently.
Hi @benjello, at first view, no (but I encountered a similar issue while working in this PR). While #1194 is a first fix, Role
continues to be non-hashable because its immutability can't be assured. Thanks for the fix!
openfisca-survey-manager
bugAfter checking, in fact yes, sorry: this PR makes Role unhashable by giving it an __eq__
. If a Role
is intended to actually be hashable, then indeed __eq__
should be removed.
I'll propose a PR in 5m. I'll just add a test in the doc so we know Role
is meant to be hashable. No need for the __hash__
method, just removing __eq__
.
Technical changes
Role
.