1. Jason R. Coombs
  2. cpython-issue14004

Commits

Éric Araujo  committed 77ac369

Fix test failure for shared builds caused by #1326113 fix

  • Participants
  • Parent commits 55fc092
  • Branches 3.2

Comments (0)

Files changed (1)

File Lib/distutils/tests/test_build_ext.py

View file
         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