Fix test failure for shared builds caused by #1326113 fix

This commit is contained in:
Éric Araujo 2012-02-15 18:13:45 +01:00
parent d9756beb87
commit c82da813c1
1 changed files with 2 additions and 1 deletions

View File

@ -159,7 +159,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