Skip to content

Commit

Permalink
fix dif
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmac committed Feb 8, 2024
1 parent cb9dd9e commit c7da1ab
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/test_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,6 @@ async def test_threaded_negative_lookup() -> None:
await resolver.resolve("doesnotexist.bla")


async def test_close_for_threaded_resolver(loop) -> None:
resolver = ThreadedResolver(loop=loop)
await resolver.close()


async def test_threaded_negative_lookup_with_unknown_result() -> None:
loop = Mock()

Expand All @@ -182,6 +177,9 @@ async def unknown_addrinfo(*args: Any, **kwargs: Any) -> List[Any]:
res = await resolver.resolve("www.python.org")
assert len(res) == 0


async def test_close_for_threaded_resolver(loop) -> None:
resolver = ThreadedResolver()
await resolver.close()


Expand Down

0 comments on commit c7da1ab

Please sign in to comment.