summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2012-02-15 17:13:00 (GMT)
committerÉric Araujo <merwok@netwok.org>2012-02-15 17:13:00 (GMT)
commita76eff7db06b5f56e973cd654fb819abf439c8b2 (patch)
tree8f9dff28430b0e41167d6a180e4e3c68e22e983e /Lib/distutils/tests
parent4575afcb53db638232d897aed5e84bb629fc1ecf (diff)
parent2a57a36368500438d1f706e52c1071368682274d (diff)
downloadcpython-a76eff7db06b5f56e973cd654fb819abf439c8b2.zip
cpython-a76eff7db06b5f56e973cd654fb819abf439c8b2.tar.gz
cpython-a76eff7db06b5f56e973cd654fb819abf439c8b2.tar.bz2
Merge fix from 3.2
Diffstat (limited to 'Lib/distutils/tests')
-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 87cceee..090eacf 100644
--- a/Lib/distutils/tests/test_build_ext.py
+++ b/Lib/distutils/tests/test_build_ext.py
@@ -187,7 +187,8 @@ class BuildExtTestCase(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