kopia lustrzana https://github.com/micropython/micropython
tests/micropython/heapalloc_fail_set.py: Remove extra trailing comma.
Unlike tuples, sets do not need trailing comma when there is only one item.pull/5844/head
rodzic
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()
|
||||||
|
|
Ładowanie…
Reference in New Issue