Page MenuHomePhabricator

Fix the DeprecationWarning in TestDryCosmeticChanges#test_standardizePageFooter
Closed, ResolvedPublic

Description

Running test_standardizePageFooter gives the following warning:

...pywikibot-core\pywikibot\textlib.py:1277: DeprecationWarning: Using unstripped text is deprecated; use stripped text instead.

The warning should be fixed or ignored.

Event Timeline

The tasks seem unrelated.

Dalba removed Dalba as the assignee of this task.Jan 15 2018, 2:47 AM
Dalba added a project: Pywikibot.
Xqt triaged this task as Low priority.Jan 16 2018, 3:25 PM
Dalba renamed this task from Fix the DeprecationWarning in TestDryCosmeticChanges#test_resolveHtmlEntities to Fix the DeprecationWarning in TestDryCosmeticChanges#test_standardizePageFooter.Jan 17 2018, 10:30 PM
Dalba updated the task description. (Show Details)

Change 404904 had a related patch set uploaded (by Dalba; owner: Dalba):
[pywikibot/core@master] texlib.py: Revert 097245e7e347, improve docstirngs and variable names

https://gerrit.wikimedia.org/r/404904

Change 404904 merged by jenkins-bot:
[pywikibot/core@master] texlib.py: Revert 097245e7e347, improve docstirngs and variable names

https://gerrit.wikimedia.org/r/404904