def METHOD_NAME(self):
    with pytest.raises(ArgumentTypeError):
        boolean("yesno")
    with pytest.raises(ArgumentTypeError):
        boolean("FOO")
    with pytest.raises(ArgumentTypeError):
        boolean("2")