mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 03:04:38 +08:00
This commit fix three test cases in test_index.py * SeqTestCase.test_index * SeqTestCase.test_wrappers * ListTestCase.test_setdelitem All these three cases' failures were caused by not supporting classes that override __index__ operator when indexing sequence type. This commit implement almost same routine with PR(#2807) which also did not support classes which override __index__ operator in range indexing. Signed-off-by: snowapril <sinjihng@gmail.com>