aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/registry/init_platform.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/init_platform.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/init_platform.py')
-rw-r--r--sources/pyside6/tests/registry/init_platform.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/sources/pyside6/tests/registry/init_platform.py b/sources/pyside6/tests/registry/init_platform.py
index 93fa64dec..0a040d0fc 100644
--- a/sources/pyside6/tests/registry/init_platform.py
+++ b/sources/pyside6/tests/registry/init_platform.py
@@ -189,10 +189,7 @@ def generate_all():
{build}
There are no default values, no variable names and no self
- parameter. Only types are present after simplification. The
- functions 'next' resp. '__next__' are removed to make the output
- identical for Python 2 and 3. '__div__' is also removed,
- since it exists in Python 2, only.
+ parameter. Only types are present after simplification.
"""
'''))
fmt.print("import sys")