Skip to content

Commit

Permalink
Suppress false mypy error
Browse files Browse the repository at this point in the history
tests/test_metrics.py:23: error: Self? has no attribute "trust_env"  [attr-defined]
  • Loading branch information
KostyaEsmukov committed Jan 6, 2024
1 parent c201dc6 commit 57626f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
def requests_session():
# Ignore system proxies, see https://stackoverflow.com/a/28521696
with requests.Session() as session:
session.trust_env = False
session.trust_env = False # type: ignore
yield session


Expand Down

0 comments on commit 57626f7

Please sign in to comment.