From 61c31ecbd0b9fdace9781374177ef52ec68e117f Mon Sep 17 00:00:00 2001 From: Will Miao Date: Thu, 19 Mar 2026 14:43:45 +0800 Subject: [PATCH] fix: exclude __init__.py from pytest collection to prevent CI import errors --- pytest.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index a5ac8452..ece8aa98 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,5 +1,5 @@ [pytest] -addopts = -v --import-mode=importlib -m "not performance" +addopts = -v --import-mode=importlib -m "not performance" --ignore=__init__.py testpaths = tests python_files = test_*.py python_classes = Test*