Commit e2adff36 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests/ Add combined test for dict(dict) and dict equality.

parent 7cf057ae
......@@ -8,3 +8,7 @@ print(d['1'], d['2'], d['3'])
d['2'] = 222
print(d['1'], d['2'], d['3'])
d2 = dict(d)
print('2' in d2)
print(id(d) != id(d2), d == d2)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment