diff --git a/tests/__init__.py b/tests/__init__.py index 34f8409..a2dbc5e 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -22,7 +22,7 @@ "Accept": "application/vnd.github+json", "User-Agent": "ancv-pytest", } -if GH_TOKEN is not None: +if GH_TOKEN: headers["Authorization"] = f"Bearer {GH_TOKEN}" resp = requests.get(