jenkins-bot has submitted this change and it was merged.

Change subject: [bugfix] py3 doesn't support maxint. Use maxsize instead.
......................................................................


[bugfix] py3 doesn't support maxint. Use maxsize instead.

Bug: T129219
Change-Id: Id598d5c60bac035838efef199f6c8b8af14ce714
---
M tests/wikistats_tests.py
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/tests/wikistats_tests.py b/tests/wikistats_tests.py
index 2aec49d..37b470d 100644
--- a/tests/wikistats_tests.py
+++ b/tests/wikistats_tests.py
@@ -52,7 +52,7 @@
         FAMILY = 'wikipedia'
         ws = WikiStats()
         data = ws.get_dict(FAMILY)
-        last = sys.maxint
+        last = sys.maxsize
         last_code = ''
         for code in ws.languages_by_size(FAMILY):
             curr = int(data[code]['good'])

-- 
To view, visit https://gerrit.wikimedia.org/r/275803
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id598d5c60bac035838efef199f6c8b8af14ce714
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to