Build: #1 failed

Job: Test Tasks Many Linux 2.28 Py3.12 failed

Test results

  • 288 tests in total
  • 1 test failed
  • 1 failure is new
  • 7 minutes taken in total.

Build 1 has the following 1 errors: 1 new failure(s) occurred since the previous build.

New test failures 1
Status Test Duration
Collapse Failed test_task_gencal gencal_gaincurve_test.test_gainCurveVLBA
< 1 sec
TypeError: only length-1 arrays can be converted to Python scalars
test_task_gencal.py:495: in test_gainCurveVLBA
    self.assertTrue(th.compTables(caltab, vlbacal, ['WEIGHT']))
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../venv/lib/python3.12/site-packages/casatestutils/testhelper.py:168: in compTables
    if ((mode=="percentage") and not math.isclose(a[i][j], b[i][j], rel_tol=tolerance)) or ((mode=="absolute") and not math.isclose(a[i][j], b[i][j], abs_tol=tolerance)):
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   TypeError: only length-1 arrays can be converted to Python scalars