Ejemplo n.º 1
0
def implementors(interface_type):
    try:
        _load_all()
    except ImportError:
        pass
    return [T for T in interface_type.implementors(True) if not (T.has_interface_name() or
                                                                 issubclass(T, TestInterface))]
Ejemplo n.º 2
0
def implementors(interface_type):
    try:
        _load_all()
    except ImportError:
        pass
    return [
        T for T in interface_type.implementors(True)
        if not (T.has_interface_name() or issubclass(T, TestInterface))
    ]