def test_extra_dimension(self):
        y_true = np.array([[[[1]],
                            [[0]],
                            [[0]]],
                           [[[0]],
                            [[1]],
                            [[0]]],
                           [[[0]],
                            [[0]],
                            [[1]]],])
        y_true_compare = np.identity(3)
        y_prob = np.array([[+1, -1, -1],
                           [-1, +1, -1],
                           [-1, -1, +1]])
        assert_equals(accuracy.hamming_accuracy_from_blob(y_true, y_prob),
                      accuracy.hamming_accuracy_from_blob(y_true_compare, y_prob))
Test an error with assertIsInstance and multiple classes.
dataset/ETHPy150Open kashefy/nideep/nideep/eval/test_accuracy.py/TestHammingAccuracyFromBlob.test_extra_dimension--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/trial/test/test_assertions.py/TestSynchronousAssertions.test_assertIsInstanceErrorMultipleClasses