Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1206373?usp=email )
Change subject: cleanup: remove Python 3.7 issue ...................................................................... cleanup: remove Python 3.7 issue Change-Id: I8d1966c8ac4b274a2798e995583ab6614a919464 Signed-off-by: Xqt <[email protected]> --- M pywikibot/time.py 1 file changed, 0 insertions(+), 2 deletions(-) Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved diff --git a/pywikibot/time.py b/pywikibot/time.py index 73a4123..1e980b2 100644 --- a/pywikibot/time.py +++ b/pywikibot/time.py @@ -170,8 +170,6 @@ ts = cls.strptime(strpstr, strpfmt) if ts.tzinfo is not None: ts = ts.astimezone(datetime.timezone.utc).replace(tzinfo=None) - # TODO: why pytest in py37 fails without this? - ts = cls._from_datetime(ts) return ts -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1206373?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: I8d1966c8ac4b274a2798e995583ab6614a919464 Gerrit-Change-Number: 1206373 Gerrit-PatchSet: 3 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]
