diff options
author | David Lechner <david@lechnology.com> | 2020-03-28 12:38:01 -0500 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-03-30 13:10:24 +1100 |
commit | 488613bca6c460340ed2995ae5cafafe22d0bfff (patch) | |
tree | ca76b85215867b5c546bf172580bf6b92dee886b /tests/micropython/heapalloc_fail_set.py | |
parent | 2461349b27385cf8c4e25c910a4af82dd96f8953 (diff) |
tests/micropython/heapalloc_fail_set.py: Remove extra trailing comma.
Unlike tuples, sets do not need trailing comma when there is only one item.
Diffstat (limited to 'tests/micropython/heapalloc_fail_set.py')
-rw-r--r-- | tests/micropython/heapalloc_fail_set.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/micropython/heapalloc_fail_set.py b/tests/micropython/heapalloc_fail_set.py index 98e615d64..172df27d4 100644 --- a/tests/micropython/heapalloc_fail_set.py +++ b/tests/micropython/heapalloc_fail_set.py @@ -6,7 +6,7 @@ import micropython x = 1 micropython.heap_lock() try: - {x,} + {x} except MemoryError: print('MemoryError: set create') micropython.heap_unlock() |