jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1309764?usp=email )

Change subject: aspects: Fix mistakes in documentation and log messages
......................................................................

aspects: Fix mistakes in documentation and log messages

Change-Id: Ic3b913ea705b44112fa7020ec4199c2a1f1ac3a7
---
M tests/aspects.py
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  jenkins-bot: Verified
  Xqt: Looks good to me, approved




diff --git a/tests/aspects.py b/tests/aspects.py
index 762e042..1649627 100644
--- a/tests/aspects.py
+++ b/tests/aspects.py
@@ -769,7 +769,7 @@
            The `skip_if_login_fails` parameter.

         :param skip_if_login_fails: called with setUp(); if True, skip
-            the current current test.
+            the current test.
         """
         for site in self.sites.values():
             site = site['site']
@@ -926,7 +926,7 @@
             for hostname in hostnames:
                 if hostname in dct['sites']:  # pragma: no cover
                     raise AttributeError(f'hostname {hostname!r} already found'
-                                         f"in dict['sites']:\n{dict['sites']}")
+                                         f"in dct['sites']:\n{dct['sites']}")
                 dct['sites'][hostname] = {'hostname': hostname}

         if dct.get('dry') is True:
@@ -1457,7 +1457,7 @@

         if str(cls.get_repo()) != 'wikidata:wikidata':
             raise unittest.SkipTest(f'{cls.__name__}: {cls.get_site()} is not'
-                                    'connected to Wikidata.')
+                                    ' connected to Wikidata.')


 class PwbTestCase(TestCase):
@@ -1475,7 +1475,7 @@
     unlikely scenario that the test case uses pwb in a way that doesn't
     use a site.

-    If a test class is marked as :code:`site = False , the metaclass
+    If a test class is marked as :code:`site = False`, the metaclass
     will also check that the ``net`` flag is explicitly set.
     """


--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1309764?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ic3b913ea705b44112fa7020ec4199c2a1f1ac3a7
Gerrit-Change-Number: 1309764
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to