Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
======================================================================
FAIL: test_no_colors (tests.tools_formatter_tests.TestColorFormat)
Test without colors in template string.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/runner/work/pywikibot/pywikibot/tests/tools_formatter_tests.py", line
58, in test_no_colors
self.assert_format('42', '42')
File
"/home/runner/work/pywikibot/pywikibot/tests/tools_formatter_tests.py", line
53, in assert_format
self.assertOneDeprecation()
File "/home/runner/work/pywikibot/pywikibot/tests/aspects.py", line 1514,
in assertOneDeprecation
self.assertDeprecation(msg)
File "/home/runner/work/pywikibot/pywikibot/tests/aspects.py", line 1500,
in assertDeprecation
self.assertDeprecationFile(self.expect_warning_filename)
File "/home/runner/work/pywikibot/pywikibot/tests/aspects.py", line 1543,
in assertDeprecationFile
f'item: {item}')
AssertionError: expected warning filename
/home/runner/work/pywikibot/pywikibot/tests/tools_formatter_tests.py; warning
item: {message : ResourceWarning('subprocess 2914 is still running'), category
: 'ResourceWarning', filename :
'/opt/hostedtoolcache/PyPy/3.7.13/x64/lib-python/3/subprocess.py', lineno :
898, line : None}
----------------------------------------------------------------------
It works with pypy 3.10 or en-wiki
TASK DETAIL
https://phabricator.wikimedia.org/T371109
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011,
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho,
MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx,
jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]