Skip to content

Commit

Permalink
Fix linting on olddeps
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Aug 13, 2024
1 parent 6faa8bf commit 35c45b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@ async def validate_hash(p: str, h: str) -> bool:
hs.get_auth_handler().validate_hash = validate_hash # type: ignore[assignment]

# We need to replace the media threadpool with the fake test threadpool.
def thread_pool() -> threads.ThreadPool:
def thread_pool() -> threadpool.ThreadPool:
return reactor.getThreadPool()

hs.get_media_sender_thread_pool = thread_pool # type: ignore[method-assign]
Expand Down

0 comments on commit 35c45b5

Please sign in to comment.