From 18114a458ca46ca69a4d89c8aa6d7108aca74334 Mon Sep 17 00:00:00 2001 From: Adrian Chaves Date: Fri, 31 Jul 2026 05:15:16 +0200 Subject: [PATCH] Ignore expected warnings from PyPy --- pyproject.toml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 180debfff..cb7f96a23 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -366,10 +366,14 @@ filterwarnings = [ # (CannotListenError): https://github.com/twisted/twisted/issues/6108 # The asyncio reactor likewise leaves client sockets and transports open on # teardown. These surface as unraisable exceptions during finalization; the - # message wording varies across Python versions (sometimes there is no - # "Exception ignored ..." prefix at all), so match on the object repr. + # message wording varies across Python implementations and versions + # (PyPy leaves the prefix empty), so match on the object repr. "ignore:.*\\.remove:pytest.PytestUnraisableExceptionWarning", # queuelib's test helpers (reused by tests/test_squeues.py) leave queue # files open; the resulting warning surfaces at an arbitrary GC point. "ignore:.*<_io\\.FileIO name=.*queuelib-tests-:pytest.PytestUnraisableExceptionWarning",