Pytest.mark values in test_oneAxisSolarArrayPoint.py lead to singularities #247
Replies: 2 comments 2 replies
-
Hi! We are aware of this very odd bug. It only shows up occasionally, not consistently. For some reason, the numerical precision fails when the delta input to the test function is PI. This is very odd because the test only fails on the CI server, whereas when I test the module on physical Windows or Mac machines, it passes up to a precision of 1e-15. While we investigate this bug further, I'd suggest to just re-run the jobs that failed. It will eventually pass. We are working on a permanent fix! |
Beta Was this translation helpful? Give feedback.
-
Riccardo has been relaxing the test constraints as they were overly aggressive. That should correct for this issue. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I think there's a need for a quick fix in
test_oneAxisSolarArrayPoint.py
. The pytest decorators are preceded by the following statementThe comment contradicts the use of
endpoint=True
. The latter results in several unit tests failing, especially when ang is equal to pi (the error is then around 1e-8 which is greater than the specified 1e-9).I think the module's logic is sound (as far as I am concerned, I just want this module's unit test to pass and am not planning on using it for now).
@rcalaon , what are your thoughts about this ? Thanks =)
Beta Was this translation helpful? Give feedback.
All reactions