Skip to content

Make loop fixture as alias for event_loop #12

Closed
@asvetlov

Description

@asvetlov

In asyncio world parameter for event loop is always called loop, never event_loop.
I think we should use the same name for fixture (with keeping backward compatibility, sure).

Also disabling global loop by asyncio.set_event_loop(None) is useful feature.
I always run my tests in isolated environment.
Global loop may be an option (nondefault) for loop fixture.
event_loop should preserve existing global strategy but may accept option for disabling it (or we may keep it untouched encouraging people to use loop fixture).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions