diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2010-03-05 00:16:02 (GMT) |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2010-03-05 00:16:02 (GMT) |
commit | dd7bef9bf56933851e68094ffc70f8f20bc6b036 (patch) | |
tree | fc0fa4408ec4561140c4a9a4c4290e5d4eb6def6 /Lib/distutils/tests/test_unixccompiler.py | |
parent | ab5e17f8964bfb9b73566180e27410520d2391d4 (diff) | |
download | cpython-dd7bef9bf56933851e68094ffc70f8f20bc6b036.zip cpython-dd7bef9bf56933851e68094ffc70f8f20bc6b036.tar.gz cpython-dd7bef9bf56933851e68094ffc70f8f20bc6b036.tar.bz2 |
reverting partially distutils to its 2.6.x state so 2.7a4 looks more like the 2.7b1 in this. the whole revert will occur after a4 is tagged
Diffstat (limited to 'Lib/distutils/tests/test_unixccompiler.py')
-rw-r--r-- | Lib/distutils/tests/test_unixccompiler.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/distutils/tests/test_unixccompiler.py b/Lib/distutils/tests/test_unixccompiler.py index 6976dd5..3f233e2 100644 --- a/Lib/distutils/tests/test_unixccompiler.py +++ b/Lib/distutils/tests/test_unixccompiler.py @@ -1,8 +1,8 @@ """Tests for distutils.unixccompiler.""" import sys import unittest -import sysconfig +from distutils import sysconfig from distutils.unixccompiler import UnixCCompiler class UnixCCompilerTestCase(unittest.TestCase): @@ -70,7 +70,7 @@ class UnixCCompilerTestCase(unittest.TestCase): elif v == 'GNULD': return 'yes' sysconfig.get_config_var = gcv - self.assertEqual(self.cc.rpath_foo(), '-Wl,--enable-new-dtags,-R/foo') + self.assertEqual(self.cc.rpath_foo(), '-Wl,-R/foo') # GCC non-GNULD sys.platform = 'bar' @@ -91,7 +91,7 @@ class UnixCCompilerTestCase(unittest.TestCase): elif v == 'GNULD': return 'yes' sysconfig.get_config_var = gcv - self.assertEqual(self.cc.rpath_foo(), '-Wl,--enable-new-dtags,-R/foo') + self.assertEqual(self.cc.rpath_foo(), '-Wl,-R/foo') # non-GCC GNULD @@ -119,7 +119,7 @@ class UnixCCompilerTestCase(unittest.TestCase): def gcv(v): return 'xxx' sysconfig.get_config_var = gcv - self.assertEqual(self.cc.rpath_foo(), '-blibpath:/foo') + self.assertEqual(self.cc.rpath_foo(), '-R/foo') def test_suite(): |