-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Description
When running test suite (yes, perhaps you are right in #39 and it is an hopeless effort) on 32bit machine (see
build log) I get this one test failing:
======================== FAILURES ===================================
_________________________ test_check_function[cfcf71] __________________________
cfcf = ({'n2min_alpha': array([[3.18312465e-04, 3.13145844e-04, 9.01115850e-05],
[3.18142757e-04, 3.13790954e-04, 6.43... nan]]), 'Ipt_second_deriv': array([15], dtype=int32)}, <check_functions.FunctionCheck object at 0xaa1a6f4c>)
def test_check_function(cfcf):
cv, cf, mfunc = cfcf
mfunc.run(locals())
if mfunc.exception is not None or not mfunc.passed:
print('\n', mfunc.name)
print(' ', mfunc.runline)
print(' ', mfunc.testline)
if mfunc.exception is None:
mfunc.exception = ValueError('Calculated values are different from the expected matlab results.')
> raise mfunc.exception
E ValueError: Calculated values are different from the expected matlab results.
gsw/tests/test_check_functions.py:62: ValueError
----------------------------- Captured stdout call -----------------------------
pt_second_derivatives
cf.pt_SA_SA, cf.pt_SA_CT, cf.pt_CT_CT = pt_second_derivatives(cv.SA_chck_cast,cv.CT_chck_cast)
cf.Ipt_second_deriv = find((abs(cv.pt_SA_SA - cf.pt_SA_SA) >= cv.pt_SA_SA_ca ) | ( abs(cv.pt_SA_CT - cf.pt_SA_CT) >= cv.pt_SA_CT_ca ) | ( abs(cv.pt_CT_CT - cf.pt_CT_CT) >= cv.pt_CT_CT_ca))
===================== 1 failed, 162 passed in 3.65 seconds =====================
error: Bad exit status from /var/tmp/rpm-tmp.0NSNJz (%check)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels