fix tests & syntax for older Python versions

This commit is contained in:
Mike Fährmann
2024-08-15 18:16:55 +02:00
parent 0bbdeaaa50
commit 01e8433889
2 changed files with 6 additions and 3 deletions

View File

@@ -580,6 +580,7 @@ class CustomNone():
def __len__():
return 0
__int__ = __len__
__hash__ = __len__
__index__ = __len__