diff options
Diffstat (limited to 'tests/functional/ext')
-rw-r--r-- | tests/functional/ext/bad_dunder/bad_dunder_name.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functional/ext/bad_dunder/bad_dunder_name.py b/tests/functional/ext/bad_dunder/bad_dunder_name.py index 48247aba0..6008866b1 100644 --- a/tests/functional/ext/bad_dunder/bad_dunder_name.py +++ b/tests/functional/ext/bad_dunder/bad_dunder_name.py @@ -49,6 +49,9 @@ class Apples: def __doc__(self): return "Docstring" + def __index__(self): + return 1 + def __increase_me__(val): return val + 1 |