Skip to content

Commit 488613b

Browse files
dlechdpgeorge
authored andcommitted
tests/micropython/heapalloc_fail_set.py: Remove extra trailing comma.
Unlike tuples, sets do not need trailing comma when there is only one item.
1 parent 2461349 commit 488613b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/micropython/heapalloc_fail_set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
x = 1
77
micropython.heap_lock()
88
try:
9-
{x,}
9+
{x}
1010
except MemoryError:
1111
print('MemoryError: set create')
1212
micropython.heap_unlock()

0 commit comments

Comments
 (0)