def register_saclass(registry, saclass, typename=None):
    if typename is None:
        typename = saclass.__name__

    SQLAlchemyRegistry.get(registry).types[saclass] = typename
Test program for telnetlib.
dataset/ETHPy150Open openstack/wsme/wsmeext/sqlalchemy/types.py/register_saclass--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/telnetlib.py/test