tests: Fix dict1.py so it doesn't rely on the order of dict elems.
This commit is contained in:
parent
00137b8c11
commit
2c883c5ab7
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user