summaryrefslogtreecommitdiff
path: root/tests/basics/slice_op.py
AgeCommit message (Collapse)Author
2024-05-28tests/basics: Add .exp file for slice_op test.Damien George
CPython 3.12 implemented hashing for slices, so now differs to MicroPython. Signed-off-by: Damien George <damien@micropython.org>
2023-05-19py/objslice: Ensure slice is not hashable.David Lechner
As per https://bugs.python.org/issue408326, the slice object should not be hashable. Since MicroPython has an implicit fallback when the unary_op slot is empty, we need to fill this slot. Signed-off-by: David Lechner <david@pybricks.com>