]> 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:55:43 +0000 (12:55 +0000)
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 7735c18b54497a9dd3c217c53d0f71a1152037f9..f33ac7ff81b50cdb9b285ea349195b656e7e2748 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",
 ]