]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
test: let pytest show more info in summary
authorDenis Laxalde <denis@laxalde.org>
Thu, 30 Nov 2023 20:01:01 +0000 (21:01 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 1 Dec 2023 12:56:00 +0000 (13:56 +0100)
We add '-ra' to pytest options so as to get report about "(a)ll except
passed" tests. This is in particular useful to get the detailed message
about why some tests got skipped (especially useful in CI).

pyproject.toml

index 950bccb4a7bbf60e42b759c6c93a575ddd582083..0fbeb82bea61772a82c76aae2fcc27016fed8e44 100644 (file)
@@ -3,6 +3,7 @@ requires = ["setuptools>=49.2.0", "wheel>=0.37"]
 build-backend = "setuptools.build_meta"
 
 [tool.pytest.ini_options]
+addopts = "-ra"
 filterwarnings = [
     "error",
 ]