Commit 6b2cfd3d authored by Terry Jan Reedy's avatar Terry Jan Reedy

Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,

as reported by Serhiy Storchaka and Matthew Barnett.
parent 2374a4cc
......@@ -278,8 +278,8 @@ class install(Command):
if self.user and (self.prefix or self.exec_prefix or self.home or
self.install_base or self.install_platbase):
raise DistutilsOptionError("can't combine user with with prefix/"
"exec_prefix/home or install_(plat)base")
raise DistutilsOptionError("can't combine user with prefix, "
"exec_prefix/home, or install_(plat)base")
# Next, stuff that's wrong (or dubious) only on certain platforms.
if os.name != "posix":
......
......@@ -165,7 +165,7 @@ class InstallTestCase(support.TempdirManager,
cmd.home = 'home'
self.assertRaises(DistutilsOptionError, cmd.finalize_options)
# can't combine user with with prefix/exec_prefix/home or
# can't combine user with prefix/exec_prefix/home or
# install_(plat)base
cmd.prefix = None
cmd.user = 'user'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment