Skip to content

Failed

gpkit.tests.t_keydict.TestKeyDict.test_nonnumeric (from gpkit.tests.t_keydict.TestKeyDict-20220216182831)

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

Error Message

ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

Stacktrace

Traceback (most recent call last):
  File "C:\Users\jenkins\workspace\CE_gpkit_PR_unit_tests\cvxopt\gpkit\tests\t_keydict.py", line 17, in test_nonnumeric
    self.assertTrue(np.isnan(kd[x[0]]))
TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

Standard Error

C:\Users\jenkins\workspace\CE_gpkit_PR_unit_tests\cvxopt\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\cvxopt\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)