diff options
author | Éric Araujo <merwok@netwok.org> | 2012-02-15 17:12:12 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2012-02-15 17:12:12 (GMT) |
commit | 2a57a36368500438d1f706e52c1071368682274d (patch) | |
tree | 812877236b546dd808caeffa0ea2394b8ac246c7 /Lib/distutils/tests | |
parent | ccddc474c3c7c664bec879deb41bb91aa5dab109 (diff) | |
download | cpython-2a57a36368500438d1f706e52c1071368682274d.zip cpython-2a57a36368500438d1f706e52c1071368682274d.tar.gz cpython-2a57a36368500438d1f706e52c1071368682274d.tar.bz2 |
Fix test failure for shared builds caused by #1326113 fix
Diffstat (limited to 'Lib/distutils/tests')
-rw-r--r-- | Lib/distutils/tests/test_build_ext.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_build_ext.py b/Lib/distutils/tests/test_build_ext.py index 87cceee..090eacf 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 |