diff --git a/tests/list-tree.py b/tests/list-tree.py --- a/tests/list-tree.py +++ b/tests/list-tree.py @@ -24,4 +24,4 @@ def gather(): else: yield p -print('\n'.join(sorted(gather()))) +print('\n'.join(sorted(gather(), key=lambda x: x.replace(os.path.sep, '/'))))