It is not at all clear how #3274 is generating a recursion error. However, this might resolve the symptom by avoiding reliance on the UnitsContainer.__getattribute__ at the module level in the Viewer tests.
Changes proposed in this PR:
directly check for pint availability instead of relying on the UnitsContainer indirection
Legal Acknowledgement
By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution:
I agree my contributions are submitted under the BSD license.
I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.
Might fix #3274
Summary/Motivation:
It is not at all clear how #3274 is generating a recursion error. However, this might resolve the symptom by avoiding reliance on the
UnitsContainer.__getattribute__
at the module level in the Viewer tests.Changes proposed in this PR:
pint
availability instead of relying on the UnitsContainer indirectionLegal Acknowledgement
By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution: