Skip to content

Commit

Permalink
fix: make warning more precise
Browse files Browse the repository at this point in the history
  • Loading branch information
agucova committed May 4, 2023
1 parent c377dc6 commit 97a86c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hypothesis-python/src/hypothesis/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,8 +570,7 @@ def _get_bytes(self, url: str) -> Optional[bytes]: # pragma: no cover
if e.code == 401:
warning_message = (
"Authorization failed when trying to download artifact from GitHub. "
"Check your $GITHUB_TOKEN environment variable "
"or make the repository public."
"Check that you have a valid GITHUB_TOKEN set in your environment."
)
else:
warning_message = (
Expand Down

0 comments on commit 97a86c4

Please sign in to comment.