Files
chia-blockchain/pytest.ini
50ae1d0d30 CHIA-4287 Bring-in Arvid's allowed warnings as some tests leak aiohttp websocket clients (#21080)
allow a few more warnings that can be triggered because our tests leak aiohttp websocket clients

Co-authored-by: arvidn <arvid.norberg@gmail.com>
2026-07-09 08:25:05 -05:00

33 lines
1.6 KiB
INI

[pytest]
; logging options
log_cli = False
addopts = --verbose --tb=short -n auto -p no:monitor
log_level = WARNING
console_output_style = count
log_format = %(asctime)s %(name)s: %(levelname)s %(message)s
markers =
build_test_chains
limit_consensus_modes
standard_block_tools
data_layer: Mark as a data layer related test.
test_mark_a1: used in testing test utilities
test_mark_a2: used in testing test utilities
test_mark_b1: used in testing test utilities
test_mark_b2: used in testing test utilities
testpaths = chia/_tests/
filterwarnings =
error
ignore:unclosed database:ResourceWarning
ignore:Exception ignored in:pytest.PytestUnraisableExceptionWarning
ignore:Exception ignored while calling deallocator:pytest.PytestUnraisableExceptionWarning
ignore:cannot collect test class:pytest.PytestCollectionWarning
ignore:The --rsyncdir command line argument and rsyncdirs config variable are deprecated.:DeprecationWarning
ignore:record_property is incompatible with junit_family:pytest.PytestWarning
ignore:Implicit None on return values is deprecated and will raise
ignore:'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16:DeprecationWarning
ignore:Implicitly cleaning up <TemporaryDirectory:ResourceWarning
ignore:'asyncio.set_event_loop_policy' is deprecated and slated for removal in Python 3.16:DeprecationWarning
ignore:'asyncio.WindowsProactorEventLoopPolicy' is deprecated and slated for removal in Python 3.16:DeprecationWarning
ignore:unclosed <socket.socket:ResourceWarning
ignore:unclosed transport:ResourceWarning