tests/basics: Add .exp file for slice_op test.
CPython 3.12 implemented hashing for slices, so now differs to MicroPython. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
ad6750b22e
commit
dd4767a7d1
@ -1,3 +1,5 @@
|
|||||||
|
# Test slice unary operations.
|
||||||
|
# CPython allows hashing slices, but MicroPython does not.
|
||||||
|
|
||||||
try:
|
try:
|
||||||
t = [][:]
|
t = [][:]
|
||||||
|
|||||||
1
tests/basics/slice_op.py.exp
Normal file
1
tests/basics/slice_op.py.exp
Normal file
@ -0,0 +1 @@
|
|||||||
|
TypeError
|
||||||
Loading…
x
Reference in New Issue
Block a user