Skip to content
Myr

Remove unused curio check (#3010)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kar Petrosyan · committed by GitHub · parent a11fc38 · Browse files · 1 file+3 added−7 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−7 removed

  • other:+3 added−7 removed

1 file+3 added−7 removed

modified:httpx/_utils.py+3 added-7 removed
293 unmodified lines
294 if library == "trio":295 import trio296297 return trio.current_time()298 elif library == "curio": # pragma: no cover299 import curio298 else:299 import asyncio300301 return typing.cast(float, await curio.clock())301 return asyncio.get_event_loop().time()302303 import asyncio304305 return asyncio.get_event_loop().time()306303 def sync_start(self) -> None:304 self.started = time.perf_counter()305306 async def async_start(self) -> None:
134 unmodified lines