The functional test:
tests/functional/cli/test_cli.py:test_defaults_to_gitlab_com(script_runner, resp_get_project) fails if there exists a configured .python-gitlab.cfg file.
This is due to the fact that if there is a config file with a token the CLI performs a gl.auth() which is not expected.