Comment out debug, left in for use if needed

This commit is contained in:
Cyber MacGeddon 2026-01-06 22:04:41 +00:00
parent d5068b240c
commit 4b796ff57f

View file

@ -5,20 +5,17 @@ This conftest.py applies to all test directories.
""" """
import pytest import pytest
import asyncio # import asyncio
import tracemalloc # import tracemalloc
import warnings # import warnings
from unittest.mock import MagicMock from unittest.mock import MagicMock
# Enable tracemalloc immediately at import time # Uncomment the lines below to enable asyncio debug mode and tracemalloc
tracemalloc.start() # for tracing unawaited coroutines and their creation points
# tracemalloc.start()
# Enable asyncio debug mode # asyncio.set_event_loop_policy(asyncio.DefaultEventLoopPolicy())
asyncio.set_event_loop_policy(asyncio.DefaultEventLoopPolicy()) # warnings.simplefilter("always", ResourceWarning)
# warnings.simplefilter("always", RuntimeWarning)
# Make warnings verbose
warnings.simplefilter("always", ResourceWarning)
warnings.simplefilter("always", RuntimeWarning)
@pytest.fixture(scope="session", autouse=True) @pytest.fixture(scope="session", autouse=True)