[Python] Fix overload_simple_cast test with 3.10

Closes #2044
This commit is contained in:
Julien Schueller 2021-08-05 14:05:10 +02:00
commit a2850397ba

View file

@ -9,6 +9,8 @@ class Ai:
def __int__(self):
return self.x
def __index__(self):
return self.x
class Ad: