tests/basics: Add test for tuple inplace add.
This commit is contained in:
parent
81d2ca2b12
commit
b6fff4186d
@ -17,6 +17,10 @@ print(x[2:3])
|
||||
|
||||
print(x + (10, 100, 10000))
|
||||
|
||||
# inplace add operator
|
||||
x += (10, 11, 12)
|
||||
print(x)
|
||||
|
||||
# construction of tuple from large iterator (tests implementation detail of uPy)
|
||||
print(tuple(range(20)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user