[Python-checkins] cpython: Fix for packaging test failure on shared builds (#1326113)

eric.araujo python-checkins at python.org
Wed Feb 15 18:14:56 CET 2012


http://hg.python.org/cpython/rev/98fb1c0fc7a0
changeset: 74955:98fb1c0fc7a0
user: Éric Araujo <merwok at netwok.org>
date: Wed Feb 15 18:14:50 2012 +0100
summary:
 Fix for packaging test failure on shared builds (#1326113)
files:
 Lib/packaging/tests/test_command_build_ext.py | 3 ++-
 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
--- a/Lib/packaging/tests/test_command_build_ext.py
+++ b/Lib/packaging/tests/test_command_build_ext.py
@@ -150,7 +150,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

AltStyle によって変換されたページ (->オリジナル) /