From 470d7624a3df47bfd8360f00c5105c3f3ad9fcf5 Mon Sep 17 00:00:00 2001 From: Min RK Date: Mon, 24 Mar 2025 13:11:53 +0100 Subject: [PATCH] show timestamps in captured logs for easier debugging of timelines --- pytest.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pytest.ini b/pytest.ini index 308a464b..8b52c688 100644 --- a/pytest.ini +++ b/pytest.ini @@ -11,6 +11,9 @@ asyncio_default_fixture_loop_scope = module # jupyter_server plugin is incompatible with notebook imports addopts = -p no:jupyter_server -m 'not browser' --color yes --durations 10 --verbose +log_format = %(asctime)s %(levelname)s %(filename)s:%(lineno)s %(message)s +log_date_format = %H:%M:%S + python_files = test_*.py markers = gen_test: marks an async tornado test