summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-08-30 18:05:58 (GMT)
committerJason R. Coombs <jaraco@jaraco.com>2015-08-30 18:05:58 (GMT)
commit1a04c447c951b33aa8c8c0f1b6803b06101b7f92 (patch)
treefdd544dcc1d5b34802c8caa60becd4aac69ad67d /Lib/distutils
parenta2cf2292a221f874bfec7587299ef26baee08906 (diff)
downloadcpython-1a04c447c951b33aa8c8c0f1b6803b06101b7f92.zip
cpython-1a04c447c951b33aa8c8c0f1b6803b06101b7f92.tar.gz
cpython-1a04c447c951b33aa8c8c0f1b6803b06101b7f92.tar.bz2
Sort result to avoid spurious errors due to order.
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/tests/test_filelist.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/tests/test_filelist.py b/Lib/distutils/tests/test_filelist.py
index 571acdb..e719198 100644
--- a/Lib/distutils/tests/test_filelist.py
+++ b/Lib/distutils/tests/test_filelist.py
@@ -314,8 +314,8 @@ class FindAllTestCase(unittest.TestCase):
os.mkdir('bar')
file2 = os.path.join('bar', 'file2.txt')
test.support.create_empty_file(file2)
- expected = [file1, file2]
- self.assertEqual(filelist.findall(), expected)
+ expected = [file2, file1]
+ self.assertEqual(sorted(filelist.findall()), expected)
def test_non_local_discovery(self):
"""