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

index 87cceee22d7cded765e1d1da285b3c4b741477a0..090eacfb2c3e022d1b3acd0cd0254a58c18da426 100644 (file)
@@ -187,7 +187,8 @@ class BuildExtTestCase(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