From: Éric Araujo Date: Wed, 15 Feb 2012 17:12:12 +0000 (+0100) Subject: Fix test failure for shared builds caused by #1326113 fix X-Git-Tag: v3.2.3rc1~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a57a36368500438d1f706e52c1071368682274d;p=python Fix test failure for shared builds caused by #1326113 fix --- diff --git a/Lib/distutils/tests/test_build_ext.py b/Lib/distutils/tests/test_build_ext.py index 87cceee22d..090eacfb2c 100644 --- a/Lib/distutils/tests/test_build_ext.py +++ b/Lib/distutils/tests/test_build_ext.py @@ -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