tests/basics: Add test for tuple inplace add.

This commit is contained in:
Damien George 2017-04-05 12:38:18 +10:00
parent 81d2ca2b12
commit b6fff4186d

View File

@ -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)))