summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-28 23:17:04 -0700
committerBenjamin Peterson <benjamin@python.org>2016-09-28 23:17:04 -0700
commitae14a8ce9ba78b945e971ff4e7f9d5b17d5ff2ec (patch)
tree339c7734a448bb64f1b0e27b3d10333f998b83f1 /tests
parent8a0f7a5412ea23ca0a9a2f9ef9352879b11909d1 (diff)
parent0c6f3d33cd15a4558e437b70b0507f221f00e3eb (diff)
downloadpython-setuptools-git-ae14a8ce9ba78b945e971ff4e7f9d5b17d5ff2ec.tar.gz
merge 3.5 (#1703178)
Diffstat (limited to 'tests')
-rw-r--r--tests/test_build_ext.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_build_ext.py b/tests/test_build_ext.py
index 47b586ca..6be0ca23 100644
--- a/tests/test_build_ext.py
+++ b/tests/test_build_ext.py
@@ -194,6 +194,13 @@ class BuildExtTestCase(TempdirManager,
cmd.finalize_options()
self.assertEqual(cmd.rpath, ['one', 'two'])
+ # make sure cmd.link_objects is turned into a list
+ # if it's a string
+ cmd = build_ext(dist)
+ cmd.link_objects = 'one two,three'
+ cmd.finalize_options()
+ self.assertEqual(cmd.link_objects, ['one', 'two', 'three'])
+
# XXX more tests to perform for win32
# make sure define is turned into 2-tuples