mirror of
https://github.com/W3SLAV/micropython.git
synced 2025-06-19 03:55:44 -04:00
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:
|
||||
t = [][:]
|
||||
|
1
tests/basics/slice_op.py.exp
Normal file
1
tests/basics/slice_op.py.exp
Normal file
@ -0,0 +1 @@
|
||||
TypeError
|
Loading…
Reference in New Issue
Block a user