Skip to content

Commit

Permalink
Merge pull request #1005 from c-bata/fix-mypy-error
Browse files Browse the repository at this point in the history
Fix mypy error
  • Loading branch information
c-bata authored Jan 14, 2025
2 parents dfcce8b + 46d1f54 commit 0c08c22
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions python_tests/wsgi_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@


if typing.TYPE_CHECKING:
from sys import _OptExcInfo

from _typeshed import OptExcInfo
from _typeshed.wsgi import WSGIEnvironment


Expand Down Expand Up @@ -67,7 +66,7 @@ def send_request(
response_headers: list[tuple[str, str]] = []

def start_response(
status_: str, headers_: list[tuple[str, str]], exc_info: _OptExcInfo | None = None
status_: str, headers_: list[tuple[str, str]], exc_info: OptExcInfo | None = None
) -> None:
nonlocal status, response_headers
status = status_
Expand Down

0 comments on commit 0c08c22

Please sign in to comment.