try: t = [][:] except: print("SKIP") raise SystemExit # REVISIT: slice comparison operators are not implemented in MicroPython # test that slice is not hashable, i.e. it can't be used to copy a dict try: {}[:] = {} except TypeError: print('TypeError')