def METHOD_NAME(self, templar):
    # normally this would return /usr/bin/python, but so long as we're defaulting to auto python discovery, we'll get
    # an InterpreterDiscoveryRequiredError here instead
    with pytest.raises(InterpreterDiscoveryRequiredError):
        amc._get_shebang(u'/usr/bin/python', {}, templar)