tests/micropython/heapalloc_fail_set.py: Remove extra trailing comma.
Unlike tuples, sets do not need trailing comma when there is only one item.
This commit is contained in:
parent
2461349b27
commit
488613bca6
|
@ -6,7 +6,7 @@ import micropython
|
||||||
x = 1
|
x = 1
|
||||||
micropython.heap_lock()
|
micropython.heap_lock()
|
||||||
try:
|
try:
|
||||||
{x,}
|
{x}
|
||||||
except MemoryError:
|
except MemoryError:
|
||||||
print('MemoryError: set create')
|
print('MemoryError: set create')
|
||||||
micropython.heap_unlock()
|
micropython.heap_unlock()
|
||||||
|
|
Loading…
Reference in New Issue