From 46f3a31a8f82e9a5e5fece21423496148cd00d45 Mon Sep 17 00:00:00 2001 From: Tom Most Date: Mon, 26 Aug 2024 22:07:21 -0700 Subject: [PATCH] Quiet Twisted-internal deprecation warnings This is tracked in https://github.com/twisted/twisted/issues/12172 --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index bf8cbcfc..f4dc4872 100644 --- a/tox.ini +++ b/tox.ini @@ -25,7 +25,7 @@ changedir = ; working directory, so put that somewhere temporary: {envtmpdir} commands = - pytest {toxinidir}/yarrharr + pytest {toxinidir}/yarrharr {posargs} django-admin makemigrations --dry-run --check [testenv:run] @@ -76,3 +76,5 @@ filterwarnings= ignore:Using readBody with a transport that does not have an abortConnection method:DeprecationWarning # Tracked in https://github.com/twm/yarrharr/issues/659 ignore:html5lib's sanitizer:DeprecationWarning + # Tracked in https://github.com/twisted/twisted/issues/12172 + ignore:twisted.web.resource._Unsafe:DeprecationWarning: