jenkins-bot has submitted this change and it was merged. Change subject: Workaround deprecation filename test breaking 2.6 ......................................................................
Workaround deprecation filename test breaking 2.6 A failure on Python 2.6 started with d4b6c62, where the filename expected for the deprecation warning, based on the class' file, is not the same being printed. Bug: T102365 Change-Id: I283899b0e47db51b801bb27a791ab609c80bf05e --- M tests/site_tests.py 1 file changed, 3 insertions(+), 0 deletions(-) Approvals: XZise: Looks good to me, approved jenkins-bot: Verified diff --git a/tests/site_tests.py b/tests/site_tests.py index e6e8bb5..005dd0d 100644 --- a/tests/site_tests.py +++ b/tests/site_tests.py @@ -59,6 +59,9 @@ def test_token(self): """Test ability to get page tokens.""" + # FIXME: deprecation filename is incorrect + # https://travis-ci.org/wikimedia/pywikibot-core/jobs/66667194#L3993 + self._do_test_warning_filename = False mysite = self.get_site() mainpage = self.get_mainpage() ttype = "edit" -- To view, visit https://gerrit.wikimedia.org/r/218102 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I283899b0e47db51b801bb27a791ab609c80bf05e Gerrit-PatchSet: 2 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: John Vandenberg <jay...@gmail.com> Gerrit-Reviewer: Ladsgroup <ladsgr...@gmail.com> Gerrit-Reviewer: Merlijn van Deen <valhall...@arctus.nl> Gerrit-Reviewer: XZise <commodorefabia...@gmx.de> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ Pywikibot-commits mailing list Pywikibot-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits