Skip to content

Failed

gpkit.tests.t_sub.TestNomialSubs.test_vectorized_linked (from gpkit.tests.t_sub.TestNomialSubs-20220216183033)

Failing for the past 1 build (Since Failed #3215 )
Took 3 ms.

Error Message

'numpy.ndarray' object is not callable

Stacktrace

Traceback (most recent call last):
  File "C:\Users\jenkins\workspace\CE_gpkit_PR_unit_tests\mosek\gpkit\tests\t_sub.py", line 33, in test_vectorized_linked
    self.assertEqual(m.substitutions[m.x[0].key](m.substitutions), 2)
TypeError: 'numpy.ndarray' object is not callable

Standard Error

C:\Users\jenkins\workspace\CE_gpkit_PR_unit_tests\mosek\gpkit\small_classes.py:158: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
  v = np.array(v)
C:\Users\jenkins\workspace\CE_gpkit_PR_unit_tests\mosek\gpkit\small_classes.py:158: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
  v = np.array(v)