aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/registry/util.py
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <cristian.maureira-fredes@qt.io>2024-11-04 11:47:41 +0100
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2024-11-05 13:28:20 +0000
commit0b7cedd3f01cd6fb97aa724f0009236d933892b5 (patch)
tree16040e22737d4d0a79852700f460905b33ed24dd /sources/pyside6/tests/registry/util.py
parent1fc1012c252a738c25cb11a3f7764b7139762bed (diff)
Remove traces of Python 2: tests and flake fixes
Addressing a few comments from tests that were related to the Python 2 compatibility. Pick-to: 6.8 Change-Id: I88c614549cfb91f879fe3e0d82a6988362e0ce19 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/tests/registry/util.py')
-rw-r--r--sources/pyside6/tests/registry/util.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/sources/pyside6/tests/registry/util.py b/sources/pyside6/tests/registry/util.py
index 97978f310..fc0026fa3 100644
--- a/sources/pyside6/tests/registry/util.py
+++ b/sources/pyside6/tests/registry/util.py
@@ -48,7 +48,6 @@ def check_warnings():
if mod:
reg = getattr(mod, warn_name, None)
if reg:
- # XXX We need to filter warnings for Python 2.
# This should be avoided by renaming the duplicate folders.
for k in reg:
if type(k) is tuple and re.match(ignore_re, k[0]):