tests/basics: Add test for tuple inplace add.

pull/2285/merge
Damien George 2017-04-05 12:38:18 +10:00
rodzic 81d2ca2b12
commit b6fff4186d
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

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