diff options
author | Damien George <damien@micropython.org> | 2023-06-01 12:33:23 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-06-01 13:01:07 +1000 |
commit | 3ae78e803b69c4f1fd5dfe7eb732de7075f12e6c (patch) | |
tree | 865d7ddcd005db3a8eb5f5fe0c939ed206896406 /tests/basics/special_methods2.py | |
parent | 1f608411231e2a02318a24d64ebc4c9385674a84 (diff) | |
download | micropython-3ae78e803b69c4f1fd5dfe7eb732de7075f12e6c.tar.gz micropython-3ae78e803b69c4f1fd5dfe7eb732de7075f12e6c.zip |
tests/basics: Remove __index__ and __inv__ from special methods tests.
MicroPython does not support these special methods, and they may get in the
way of other tests (eg indexing with __int__).
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/basics/special_methods2.py')
-rw-r--r-- | tests/basics/special_methods2.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/basics/special_methods2.py b/tests/basics/special_methods2.py index 31f330ab42..8a47690b2e 100644 --- a/tests/basics/special_methods2.py +++ b/tests/basics/special_methods2.py @@ -38,12 +38,6 @@ class Cud(): def __floordiv__(self, other): print("__floordiv__ called") - def __index__(self, other): - print("__index__ called") - - def __inv__(self): - print("__inv__ called") - def __invert__(self): print("__invert__ called") |