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):
668668
669669 children = list ((repo_path / "domdf_python_tools" ).iterchildren ())
670670 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 ) )
672672
673673
674674def test_iterchildren_exclusions ():
@@ -692,8 +692,8 @@ def test_iterchildren_match(data_regression: DataRegressionFixture):
692692
693693 children = list (repo_path .iterchildren (match = "**/*.py" ))
694694 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 )
697697
698698 for exclude_filename in {".coverage" , "pathtype_demo.py" }:
699699 if exclude_filename in child_paths :
You can’t perform that action at this time.
0 commit comments