Skip to content

unused socket fixture #1100

Closed as not planned
Closed as not planned
@Dreamsorcerer

Description

@Dreamsorcerer

I'm converting over aiohttp code to pytest-asyncio. I noticed that in addition to the unused_port fixtures, we also have an unused_port_socket (which returns the actual socket, rather than just the port number).

I'm wondering if this fixture should be included in pytest-asyncio, so we can remove it from a future release of aiohttp?

https://github.com/aio-libs/aiohttp/blob/46b557a3ffea73af2afb8c8a86be7b40550c814a/aiohttp/test_utils.py#L79-L98

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions