From 5b168b6d7a36877bc57db75cfb9ff6c9d850ced4 Mon Sep 17 00:00:00 2001 From: Reid <61492567+reidliu41@users.noreply.github.com> Date: Mon, 2 Jun 2025 19:07:26 +0800 Subject: [PATCH] [doc] add pytest tips (#19010) Signed-off-by: reidliu41 Co-authored-by: reidliu41 --- docs/contributing/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/contributing/README.md b/docs/contributing/README.md index f84fb242f1606..65ae9cc963676 100644 --- a/docs/contributing/README.md +++ b/docs/contributing/README.md @@ -108,6 +108,9 @@ pre-commit run mypy-3.9 --hook-stage manual --all-files # Unit tests pytest tests/ + +# Run tests for a single test file with detailed output +pytest -s -v tests/test_logger.py ``` !!! tip