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:
Damien George 2024-05-28 10:50:57 +10:00
parent ad6750b22e
commit dd4767a7d1
2 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,5 @@
# Test slice unary operations.
# CPython allows hashing slices, but MicroPython does not.
try:
t = [][:]

View File

@ -0,0 +1 @@
TypeError