tests: Fix dict1.py so it doesn't rely on the order of dict elems.

pull/1888/merge
Damien George 2016-04-15 16:28:33 +01:00
rodzic 00137b8c11
commit 2c883c5ab7
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -6,10 +6,10 @@ d[2] = 123
print(d)
d = {1:2}
d[3] = 3
print(d)
print(len(d), d[1], d[3])
d[1] = 0
print(d)
print(d[1])
print(len(d), d[1], d[3])
print(str(d) == '{1: 0, 3: 3}' or str(d) == '{3: 3, 1: 0}')
x = 1
while x < 100: