Skip to content

Commit b4b27ff

Browse files
authored
Remove unused curio check (#3010)
1 parent a11fc38 commit b4b27ff

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

httpx/_utils.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -295,14 +295,10 @@ async def _get_time(self) -> float:
295295
import trio
296296

297297
return trio.current_time()
298-
elif library == "curio": # pragma: no cover
299-
import curio
300-
301-
return typing.cast(float, await curio.clock())
302-
303-
import asyncio
298+
else:
299+
import asyncio
304300

305-
return asyncio.get_event_loop().time()
301+
return asyncio.get_event_loop().time()
306302

307303
def sync_start(self) -> None:
308304
self.started = time.perf_counter()

0 commit comments

Comments
 (0)