Skip to content

Commit

Permalink
munet: move event loop to session scope to avoid python errors
Browse files Browse the repository at this point in the history
  • Loading branch information
choppsv1 committed Apr 19, 2024
1 parent 1bbfb02 commit 03e01f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion munet/testing/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def module_autouse(request):
raise Exception("Base Munet was not cleaned up/deleted")


@pytest.fixture(scope="module")
@pytest.fixture(scope="session")
def event_loop():
"""Create an instance of the default event loop for the session."""
loop = get_event_loop()
Expand Down

0 comments on commit 03e01f3

Please sign in to comment.