18 lines
348 B
Python
18 lines
348 B
Python
# Global pytest fixtures and configuration
|
|
# Shared across all test types
|
|
|
|
import sys
|
|
|
|
import pytest
|
|
|
|
# Disable Python bytecode cache
|
|
sys.dont_write_bytecode = True
|
|
|
|
|
|
@pytest.fixture(scope="session")
|
|
def event_loop_policy():
|
|
"""Use default event loop policy for asyncio tests."""
|
|
import asyncio
|
|
|
|
return asyncio.DefaultEventLoopPolicy()
|