def METHOD_NAME(warning_fixture):
    """Source doesn't warn about potentially erroneous usage."""
    look_out = network.Bus()
    with pytest.raises(
        TypeError, match="got an unexpected keyword argument 'inputs'"
    ):
        solph.components.Source(
            label="test_source", inputs={look_out: "A typo!"}
        )
    msg = (
        "A Source is designed to have one output but you provided 0."
        " If this is intended and you know what you are doing you can "
        "disable the SuspiciousUsageWarning globally."
    )
    with warnings.catch_warnings(record=True) as w:
        solph.components.Source(
            label="no output",
        )
        assert len(w) == 1
        assert msg in str(w[-1].message)