Skip to content

Commit

Permalink
tests/micropython/heapalloc_fail_set.py: Remove extra trailing comma.
Browse files Browse the repository at this point in the history
Unlike tuples, sets do not need trailing comma when there is only one item.
  • Loading branch information
dlech authored and dpgeorge committed Mar 30, 2020
1 parent 2461349 commit 488613b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/micropython/heapalloc_fail_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
x = 1
micropython.heap_lock()
try:
{x,}
{x}
except MemoryError:
print('MemoryError: set create')
micropython.heap_unlock()
Expand Down

0 comments on commit 488613b

Please sign in to comment.