Also I think we should still test for `assert_array_equal(np.unique(y_t_class), clf.classes_)`. So maybe the proper fix would rather be to assign:

```
y_t_class = [u"foo", 1, 1]
```

instead (if that can make the assertion pass).