def totext(table, source=None, encoding=None, errors='strict', template=None,
           prologue=None, epilogue=None):

    _writetext(table, source=source, mode='wb', encoding=encoding,
               errors=errors, template=template, prologue=prologue,
               epilogue=epilogue)
Verify that this returns an empty list or a list of slugs.
dataset/ETHPy150Open alimanfoo/petl/petl/io/text.py/totext--crossover with--dataset/ETHPy150Open bradmontgomery/django-redis-metrics/redis_metrics/tests/test_models.py/TestR.test__category_slugs