From: Tarek Ziadé Date: Sun, 10 May 2009 21:27:55 +0000 (+0000) Subject: fixed test_build_ext for win32 X-Git-Tag: v2.7a1~1215 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2bb084e643dc423b8f3efb37e0136ae24e530c02;p=python fixed test_build_ext for win32 --- diff --git a/Lib/distutils/tests/test_build_ext.py b/Lib/distutils/tests/test_build_ext.py index dab9712a56..54d6b96d34 100644 --- a/Lib/distutils/tests/test_build_ext.py +++ b/Lib/distutils/tests/test_build_ext.py @@ -192,7 +192,7 @@ class BuildExtTestCase(support.TempdirManager, cmd = build_ext(dist) cmd.library_dirs = 'my_lib_dir' cmd.finalize_options() - self.assertEquals(cmd.library_dirs, ['my_lib_dir']) + self.assert_('my_lib_dir' in cmd.library_dirs) # make sure rpath is turned into a list # if it's a list of os.pathsep's paths