summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_build_ext.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2012-02-15 17:13:45 (GMT)
committerÉric Araujo <merwok@netwok.org>2012-02-15 17:13:45 (GMT)
commitc82da813c1406bc7e3878bf1d960d4765bcb0d89 (patch)
tree8dd893a283728d66b6121bd986a953a65310a547 /Lib/distutils/tests/test_build_ext.py
parentd9756beb8752aac03bf0c2a9590346064057b55d (diff)
downloadcpython-c82da813c1406bc7e3878bf1d960d4765bcb0d89.zip
cpython-c82da813c1406bc7e3878bf1d960d4765bcb0d89.tar.gz
cpython-c82da813c1406bc7e3878bf1d960d4765bcb0d89.tar.bz2
Fix test failure for shared builds caused by #1326113 fix
Diffstat (limited to 'Lib/distutils/tests/test_build_ext.py')
-rw-r--r--Lib/distutils/tests/test_build_ext.py3
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
index 198cce3..b71cc98 100644
--- a/Lib/distutils/tests/test_build_ext.py
+++ b/Lib/distutils/tests/test_build_ext.py
@@ -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