mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
Move tests in basic/tests/ up one level preparating to multiple test dirs.
This commit is contained in:
10
tests/basics/dict_update.py
Normal file
10
tests/basics/dict_update.py
Normal file
@@ -0,0 +1,10 @@
|
||||
d = {1:2, 3:4}
|
||||
print(d)
|
||||
d.update(["ab"])
|
||||
print(d[1])
|
||||
print(d[3])
|
||||
print(d["a"])
|
||||
print(len(d))
|
||||
d.update([(1,4)])
|
||||
print(d[1])
|
||||
print(len(d))
|
||||
Reference in New Issue
Block a user