avoid dependency on directory ordering
--HG-- branch : trunk
This commit is contained in:
parent
ff5c1b6611
commit
3239bd250b
|
@ -188,8 +188,8 @@ class TestLocalPath(common.CommonFSTests):
|
||||||
p2 = tmpdir.ensure("b","2")
|
p2 = tmpdir.ensure("b","2")
|
||||||
p3 = tmpdir.ensure("breadth")
|
p3 = tmpdir.ensure("breadth")
|
||||||
l = list(tmpdir.visit(lambda x: x.check(file=1)))
|
l = list(tmpdir.visit(lambda x: x.check(file=1)))
|
||||||
assert l[0] == p1
|
assert len(l) == 3
|
||||||
assert l[1] == p2
|
# check that breadth comes last
|
||||||
assert l[2] == p3
|
assert l[2] == p3
|
||||||
|
|
||||||
class TestExecutionOnWindows:
|
class TestExecutionOnWindows:
|
||||||
|
|
Loading…
Reference in New Issue