[Python-checkins] cpython (2.7): Fix test failure for shared builds caused by #1326113 fix
eric.araujo
python-checkins at python.org
Wed Feb 15 18:15:02 CET 2012
http://hg.python.org/cpython/rev/db1c52aa4d2a
changeset: 74956:db1c52aa4d2a
branch: 2.7
parent: 74951:a99632426af5
user: Éric Araujo <merwok at netwok.org>
date: Wed Feb 15 18:13:45 2012 +0100
summary:
Fix test failure for shared builds caused by #1326113 fix
files:
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
--- a/Lib/distutils/tests/test_build_ext.py
+++ b/Lib/distutils/tests/test_build_ext.py
@@ -159,7 +159,8 @@
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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list