1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Mon, 22 Dec 2025 11:21:12 +0100
Subject: Ignore ResourceWarning with Python 3.14
---
html5lib/tests/tokenizer.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/html5lib/tests/tokenizer.py b/html5lib/tests/tokenizer.py
index d2605a1..dc19941 100644
--- a/html5lib/tests/tokenizer.py
+++ b/html5lib/tests/tokenizer.py
@@ -224,6 +224,7 @@ class TokenizerTest(pytest.Item):
def runtest(self):
warnings.resetwarnings()
warnings.simplefilter("error")
+ warnings.simplefilter("ignore", category=ResourceWarning)
expected = self.test['output']
if 'lastStartTag' not in self.test:
|