File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -668,7 +668,7 @@ def test_iterchildren(data_regression: DataRegressionFixture):
668
668
669
669
children = list ((repo_path / "domdf_python_tools" ).iterchildren ())
670
670
assert children
671
- data_regression .check ([ p .relative_to (repo_path ).as_posix () for p in children ] )
671
+ data_regression .check (sorted ( p .relative_to (repo_path ).as_posix () for p in children ) )
672
672
673
673
674
674
def test_iterchildren_exclusions ():
@@ -692,8 +692,8 @@ def test_iterchildren_match(data_regression: DataRegressionFixture):
692
692
693
693
children = list (repo_path .iterchildren (match = "**/*.py" ))
694
694
assert children
695
-
696
- child_paths = [ p .relative_to (repo_path ).as_posix () for p in children ]
695
+
696
+ child_paths = sorted ( p .relative_to (repo_path ).as_posix () for p in children )
697
697
698
698
for exclude_filename in {".coverage" , "pathtype_demo.py" }:
699
699
if exclude_filename in child_paths :
You can’t perform that action at this time.
0 commit comments