Skip to content

DeprecationWarning: There is no current event loop #3110

Description

@JelleZijlstra

Running Black on Python 3.11 produces:

% black ast_decompiler 
/Users/jelle/py/venvs/311-jun6/lib/python3.11/site-packages/black/__init__.py:767: DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()

We should fix this warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: maintenanceRelated to project maintenance, e.g. CI, testing, policy changes, releasesT: bugSomething isn't workinghelp wantedExtra attention is needed

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions