def test_is_machine_learning_type(): assert Scorer.is_machine_learning_type("Clustering")
def test_is_machine_learning_type_bad(): with pytest.raises(PhotonaiError): assert Scorer.is_machine_learning_type("fred")