Numpy raises an exception if you compare an array to a unicode string on Python 2.