16 lines
247 B
Python
16 lines
247 B
Python
import logging
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.fixture()
|
|
def anyio_backend():
|
|
return 'trio'
|
|
|
|
|
|
@pytest.fixture()
|
|
def logger():
|
|
logging.basicConfig()
|
|
logger = logging.getLogger("test_logger")
|
|
logger.setLevel(logging.INFO)
|
|
return logger
|