summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-08-31 14:52:12 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-08-31 14:52:12 (GMT)
commitab3bea6815a236af940b7d25a0d295e6bbf20c5b (patch)
treead8012954080e26534884e39b64afc308484589f
parent5bb734513239fe4d0307d2b9ca5f4aab0f0feae8 (diff)
parent48e484fdde4295c755dd3d6df6d7f1633eb17f2b (diff)
downloadcpython-ab3bea6815a236af940b7d25a0d295e6bbf20c5b.zip
cpython-ab3bea6815a236af940b7d25a0d295e6bbf20c5b.tar.gz
cpython-ab3bea6815a236af940b7d25a0d295e6bbf20c5b.tar.bz2
Merge fix for #10086 from 3.2
-rw-r--r--Lib/test/test_sysconfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py
index 241af8f..773d523 100644
--- a/Lib/test/test_sysconfig.py
+++ b/Lib/test/test_sysconfig.py
@@ -254,14 +254,14 @@ class TestSysConfig(unittest.TestCase):
unlink(link)
def test_user_similar(self):
- # Issue 8759 : make sure the posix scheme for the users
+ # Issue #8759: make sure the posix scheme for the users
# is similar to the global posix_prefix one
base = get_config_var('base')
user = get_config_var('userbase')
for name in ('stdlib', 'platstdlib', 'purelib', 'platlib'):
global_path = get_path(name, 'posix_prefix')
user_path = get_path(name, 'posix_user')
- self.assertEqual(user_path, global_path.replace(base, user))
+ self.assertEqual(user_path, global_path.replace(base, user, 1))
def test_main(self):
# just making sure _main() runs and returns things in the stdout