Skip to content

Commit

Permalink
fix: linting err
Browse files Browse the repository at this point in the history
  • Loading branch information
z3z1ma committed May 23, 2024
1 parent bc184e2 commit de393a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/sources/helpers/test_requests.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Iterator, Type
from typing import Any, Dict, Iterator, List, Type
from unittest import mock
import os
import random
Expand Down Expand Up @@ -183,7 +183,7 @@ def test_wait_retry_after_int(mock_sleep: mock.MagicMock) -> None:
m = requests_mock.Adapter()
session.mount("https://", m)
m.register_uri("GET", url, text="error")
responses = [
responses: List[Dict[str, Any]] = [
dict(text="error", headers={"retry-after": "4"}, status_code=429),
dict(text="success"),
]
Expand Down

0 comments on commit de393a5

Please sign in to comment.