summaryrefslogtreecommitdiffstats
path: root/Lib/packaging
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2012-02-15 17:14:50 (GMT)
committerÉric Araujo <merwok@netwok.org>2012-02-15 17:14:50 (GMT)
commit43df889d63707081bca200db9c33f3d79ed616ad (patch)
tree57c299537a84638c48786fef076291cd09ca52b3 /Lib/packaging
parenta76eff7db06b5f56e973cd654fb819abf439c8b2 (diff)
downloadcpython-43df889d63707081bca200db9c33f3d79ed616ad.zip
cpython-43df889d63707081bca200db9c33f3d79ed616ad.tar.gz
cpython-43df889d63707081bca200db9c33f3d79ed616ad.tar.bz2
Fix for packaging test failure on shared builds (#1326113)
Diffstat (limited to 'Lib/packaging')
-rw-r--r--Lib/packaging/tests/test_command_build_ext.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/packaging/tests/test_command_build_ext.py b/Lib/packaging/tests/test_command_build_ext.py
index 161b000..9a00c11 100644
--- a/Lib/packaging/tests/test_command_build_ext.py
+++ b/Lib/packaging/tests/test_command_build_ext.py
@@ -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