Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
patcher9 committed Mar 24, 2024
1 parent 90ceaa0 commit 480b634
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_anthropic.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def test_messages():
)
assert message.type == 'message'

# pylint: disable=broad-exception-caught
except Exception as e:
if "rate limit" in str(e).lower():
print("Rate Limited:", e)

0 comments on commit 480b634

Please sign in to comment.