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:
David Lechner 2020-03-28 12:38:01 -05:00 committed by Damien George
parent 2461349b27
commit 488613bca6
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import micropython
x = 1
micropython.heap_lock()
try:
{x,}
{x}
except MemoryError:
print('MemoryError: set create')
micropython.heap_unlock()