Skip to content

Commit f26a82b

Browse files
committed
Fix asyncio.TimeoutError import for locks
1 parent a96b8b6 commit f26a82b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymongo/lock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import os
2121
import threading
2222
import weakref
23-
from asyncio import events, exceptions, wait_for
23+
from asyncio import TimeoutError, events, exceptions, wait_for
2424
from typing import Any, Coroutine, Optional, TypeVar
2525

2626
_HAS_REGISTER_AT_FORK = hasattr(os, "register_at_fork")

0 commit comments

Comments
 (0)