diff options
-rw-r--r-- | tests/modules/process_test/try_execfile.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/modules/process_test/try_execfile.py b/tests/modules/process_test/try_execfile.py index 70905071..bc412fc5 100644 --- a/tests/modules/process_test/try_execfile.py +++ b/tests/modules/process_test/try_execfile.py @@ -52,6 +52,11 @@ def without_same_files(filenames): cleaned_sys_path = [os.path.normcase(p) for p in without_same_files(sys.path)] +# Eggs seems to go in different places for some reason. I'm going to assume +# it's an OK difference. Sort eggs to the end of the list to canonicalize +# them. +cleaned_sys_path = sorted(cleaned_sys_path, key=lambda p: p.endswith(".egg")) + DATA = "xyzzy" import __main__ |