File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change 11"""Configuration for pytest."""
22import pytest
3- import asyncio
43import sys
54import os
65import tempfile
76import shutil
8- from typing import Generator
97from unittest .mock import MagicMock
108
119# Add the project root to the Python path for imports
@@ -147,14 +145,6 @@ class StreamInactiveError(Exception):
147145# and provide shared fixtures across all tests.
148146
149147
150- @pytest .fixture (scope = "session" )
151- def event_loop () -> Generator [asyncio .AbstractEventLoop , None , None ]:
152- """Create an instance of the default event loop for each test case."""
153- loop = asyncio .get_event_loop_policy ().new_event_loop ()
154- yield loop
155- loop .close ()
156-
157-
158148@pytest .fixture (scope = "session" )
159149def temp_dir ():
160150 """Create a temporary directory for tests."""
You can’t perform that action at this time.
0 commit comments