Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1305641?usp=email )

Change subject: Fix documentation mistakes in tools_tests
......................................................................

Fix documentation mistakes in tools_tests

Change-Id: I11c756bd95e9df1f2b582ece9e9d76b9d2a04a97
Signed-off-by: Xqt <[email protected]>
---
M tests/tools_tests.py
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Xqt: Verified; Looks good to me, approved




diff --git a/tests/tools_tests.py b/tests/tools_tests.py
index c8cebf0..6f92b1a 100755
--- a/tests/tools_tests.py
+++ b/tests/tools_tests.py
@@ -3,7 +3,7 @@
 # (C) Pywikibot team, 2015-2026
 #
 # Distributed under the terms of the MIT license.
-"""Test tools package alone which don't fit into other tests."""
+"""Test tools package alone which doesn't fit into other tests."""
 from __future__ import annotations

 import decimal
@@ -1094,7 +1094,7 @@
         self.assertEqual(self.foo.read, 1)
         self.assertHasAttr(self.foo, '_foo')
         self.assertEqual(self.foo.foo(), 'foo')  # check cached value
-        self.assertEqual(self.foo.read, 1)  # bar() was called only once
+        self.assertEqual(self.foo.read, 1)  # foo() was called only once
         del self.foo._foo
         self.assertNotHasAttr(self.foo, '_foo')
         self.assertEqual(self.foo.foo(), 'foo')  # check computed value

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1305641?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: I11c756bd95e9df1f2b582ece9e9d76b9d2a04a97
Gerrit-Change-Number: 1305641
Gerrit-PatchSet: 2
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