mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-23 20:21:03 +02:00
Comment out debug, left in for use if needed
This commit is contained in:
parent
d5068b240c
commit
4b796ff57f
1 changed files with 9 additions and 12 deletions
|
|
@ -5,20 +5,17 @@ This conftest.py applies to all test directories.
|
|||
"""
|
||||
|
||||
import pytest
|
||||
import asyncio
|
||||
import tracemalloc
|
||||
import warnings
|
||||
# import asyncio
|
||||
# import tracemalloc
|
||||
# import warnings
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
# Enable tracemalloc immediately at import time
|
||||
tracemalloc.start()
|
||||
|
||||
# Enable asyncio debug mode
|
||||
asyncio.set_event_loop_policy(asyncio.DefaultEventLoopPolicy())
|
||||
|
||||
# Make warnings verbose
|
||||
warnings.simplefilter("always", ResourceWarning)
|
||||
warnings.simplefilter("always", RuntimeWarning)
|
||||
# Uncomment the lines below to enable asyncio debug mode and tracemalloc
|
||||
# for tracing unawaited coroutines and their creation points
|
||||
# tracemalloc.start()
|
||||
# asyncio.set_event_loop_policy(asyncio.DefaultEventLoopPolicy())
|
||||
# warnings.simplefilter("always", ResourceWarning)
|
||||
# warnings.simplefilter("always", RuntimeWarning)
|
||||
|
||||
|
||||
@pytest.fixture(scope="session", autouse=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue