From 30fcea1b222d56f07aff2a0926b9ac07ebc0a6bf Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Sun, 17 Dec 2023 23:25:14 +0100 Subject: [PATCH] progress --- psutil/tests/test_contracts.py | 3 +-- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/psutil/tests/test_contracts.py b/psutil/tests/test_contracts.py index fbcd7fc096..9d25b85f71 100755 --- a/psutil/tests/test_contracts.py +++ b/psutil/tests/test_contracts.py @@ -440,8 +440,7 @@ def test_all(self): meth = getattr(self, name) try: meth(value, info) - except Exception: # noqa - raise + except Exception: s = '\n' + '=' * 70 + '\n' s += "FAIL: name=test_%s, pid=%s, ret=%s\n" % ( name, info['pid'], repr(value)) diff --git a/pyproject.toml b/pyproject.toml index 6f2aeb0323..76b3bd93e7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -169,7 +169,7 @@ trailing_comma_inline_array = true [tool.cibuildwheel] skip = ["*-musllinux*", "pp*"] test-command = [ - "env PYTHONWARNINGS=always PYTHONUNBUFFERED=1 PSUTIL_DEBUG=1 PSUTIL_SCRIPTS_DIR={project}/scripts python {project}/psutil/tests/runner.py", + "env PYTHONWARNINGS=always PYTHONUNBUFFERED=1 PSUTIL_DEBUG=1 PSUTIL_SCRIPTS_DIR={project}/scripts python {project}/psutil/tests/test_contracts.py", "env PYTHONWARNINGS=always PYTHONUNBUFFERED=1 PSUTIL_DEBUG=1 PSUTIL_SCRIPTS_DIR={project}/scripts python {project}/psutil/tests/test_memleaks.py", ] test-extras = "test"