def _ensure_str(obj):
    if isinstance(obj, basestring):
        return obj
    raise TypeError('coercing to Unicode: need string or buffer, %s found' % \
                        _type_name(obj))
RCS file without revisions on trunk yields no changes.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/posixpath.py/_ensure_str--crossover with--dataset/ETHPy150Open ustuehler/git-cvs/tests/test_rcs.py/Test.testNoRevisionsOnTrunk