True, but:

    In [1]: from scipy.lib.six import string_types

    In [2]: isinstance(u'abc', string_types)
    Out[2]: True

In ``fit`` it can also be removed then. The rest of the code base only uses ``string_types``.