jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/685608 )
Change subject: [doc] fix 'can not' typos ......................................................................
[doc] fix 'can not' typos
Change-Id: I7bce84a841831c22df68c1dac80541881eb8c977 --- M scripts/weblinkchecker.py M tests/README.rst M tests/aspects.py M tests/textlib_tests.py 4 files changed, 4 insertions(+), 4 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/weblinkchecker.py b/scripts/weblinkchecker.py index 15f9b25..14d3a2c 100755 --- a/scripts/weblinkchecker.py +++ b/scripts/weblinkchecker.py @@ -465,7 +465,7 @@ A Thread that is responsible for posting error reports on talk pages.
There is only one DeadLinkReportThread, and it is using a semaphore to make - sure that two LinkCheckerThreads can not access the queue at the same time. + sure that two LinkCheckerThreads cannot access the queue at the same time. """
def __init__(self): diff --git a/tests/README.rst b/tests/README.rst index 73a07fd..3a73ddc 100644 --- a/tests/README.rst +++ b/tests/README.rst @@ -198,7 +198,7 @@ write operations successfully. These **will** write to the wikis, and they should always only write to 'test' wikis.
-These 'write' tests are disabled by default, and currently can not be +These 'write' tests are disabled by default, and currently cannot be run on Travis or AppVeyor as they require interaction using a terminal. Also enabling them won't enable 'edit failure' tests.
diff --git a/tests/aspects.py b/tests/aspects.py index e3eb391..ec36b6e 100644 --- a/tests/aspects.py +++ b/tests/aspects.py @@ -504,7 +504,7 @@ """ if issubclass(cls, ForceCacheMixin): raise Exception( - '{} can not be a subclass of both ' + '{} cannot be a subclass of both ' 'SiteWriteMixin and ForceCacheMixin' .format(cls.__name__))
diff --git a/tests/textlib_tests.py b/tests/textlib_tests.py index 0abb8a5..af6eff3 100644 --- a/tests/textlib_tests.py +++ b/tests/textlib_tests.py @@ -985,7 +985,7 @@ textlib.replace_links(self.text, callback, self.wp_site)
def test_replace_interwiki_links(self): - """Make sure interwiki links can not be replaced.""" + """Make sure interwiki links cannot be replaced.""" link = '[[fr:how]]' self.assertEqual( textlib.replace_links(link, ('fr:how', 'de:are'), self.wp_site),
pywikibot-commits@lists.wikimedia.org