Commit 78293692 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 9e2081cf
......@@ -143,7 +143,7 @@ def IterAllStructs(keys, maxdepth, maxsplit):
for k in keys:
assert isinstance(k, int)
assert k in ks # no duplicates
del keys[k]
ks.remove(k)
keyv = list(keys)
keyv.sort()
......
......@@ -78,12 +78,11 @@ def test_iterAllStructs():
print()
assert X([], 0, 0) == [ T([], B()) ]
assert X([1], 0, 0) == [ T([], B(1)) ]
return
assert X([1], 0, 0) == [ T([], B(1)) ]
assert X([1,3], 0, 0) == [ T([], B(1,3)) ]
assert X([], 0, 1) == [ T([], B()), T([s], B()) ] # XXX s is any
......
Markdown is supported
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