@contextmanager
def requirements_file(contents, tmpdir):
    path = tmpdir / 'reqs.txt'
    path.write(contents)
    yield path
    path.remove()
Add the given translations to the catalog.
dataset/ETHPy150Open pypa/pip/tests/lib/__init__.py/requirements_file--crossover with--dataset/ETHPy150Open ibagrak/algae/gae/libs/babel/support.py/Translations.add