This is an automated email from the ASF dual-hosted git repository.

juergbi pushed a commit to branch juerg/pytest
in repository https://gitbox.apache.org/repos/asf/buildstream-plugins.git

commit 787aeced52bb4d100e92878379947b7f73794996
Author: Jürg Billeter <[email protected]>
AuthorDate: Mon Jul 29 10:06:38 2024 +0200

    pytest: Set `testpaths` to fix test collection
    
    pytest 8 had breaking changes in test collection, which prevented the
    main test suite from being picked up.
---
 setup.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/setup.cfg b/setup.cfg
index 257bf1e..e476515 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -16,6 +16,7 @@ test=pytest
 
 [tool:pytest]
 addopts = --verbose --basetemp ./tmp --durations=20
+testpaths = tests
 norecursedirs = tests/sources/pip-build integration-cache tmp __pycache__ .eggs
 python_files = tests/*.py
 markers =

Reply via email to