From 488613bca6c460340ed2995ae5cafafe22d0bfff Mon Sep 17 00:00:00 2001 From: David Lechner Date: Sat, 28 Mar 2020 12:38:01 -0500 Subject: [PATCH] tests/micropython/heapalloc_fail_set.py: Remove extra trailing comma. Unlike tuples, sets do not need trailing comma when there is only one item. --- tests/micropython/heapalloc_fail_set.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/micropython/heapalloc_fail_set.py b/tests/micropython/heapalloc_fail_set.py index 98e615d64a..172df27d4e 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()