Source code for pydmt.api.fail

from pydmt.api.one_source_one_target import OneSourceOneTarget


[docs] class Fail(OneSourceOneTarget): """ This is a builder that fails. Why do we need it? Tests Why does it need a source and target? Because otherwise it would not get triggered """
[docs] def build(self): raise ValueError("fail")