]> granicus.if.org Git - python/commitdiff
Fix for packaging test failure on shared builds (#1326113)
authorÉric Araujo <merwok@netwok.org>
Wed, 15 Feb 2012 17:14:50 +0000 (18:14 +0100)
committerÉric Araujo <merwok@netwok.org>
Wed, 15 Feb 2012 17:14:50 +0000 (18:14 +0100)
Lib/packaging/tests/test_command_build_ext.py

index 161b00081ddad1bd246c0b6ad8e5bcd5befa0257..9a00c116a577b40da4ec56eaf6a728c7533a477f 100644 (file)
@@ -150,7 +150,8 @@ class BuildExtTestCase(support.TempdirManager,
         cmd = build_ext(dist)
         cmd.library_dirs = 'my_lib_dir%sother_lib_dir' % os.pathsep
         cmd.finalize_options()
-        self.assertEqual(cmd.library_dirs, ['my_lib_dir', 'other_lib_dir'])
+        self.assertIn('my_lib_dir', cmd.library_dirs)
+        self.assertIn('other_lib_dir', cmd.library_dirs)
 
         # make sure rpath is turned into a list
         # if it's a string