You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
tests/dict_fromkeys: Revert to use reversed() to run in native codegen mode.
This commit is contained in:
@@ -9,6 +9,6 @@ l.sort()
|
||||
print(l)
|
||||
|
||||
# argument to fromkeys has no __len__
|
||||
#d = dict.fromkeys(reversed(range(1)))
|
||||
d = dict.fromkeys((x for x in range(1)))
|
||||
d = dict.fromkeys(reversed(range(1)))
|
||||
#d = dict.fromkeys((x for x in range(1)))
|
||||
print(d)
|
||||
|
||||
Reference in New Issue
Block a user