Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
    ======================================================================
    ERROR: test_image_usage (tests.site_generators_tests.TestImageUsage)
    Test the site.imageusage() method.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "D:\a\pywikibot\pywikibot\tests\site_generators_tests.py", line 814, 
in test_image_usage
        imagepage = self.imagepage
      File "D:\a\pywikibot\pywikibot\tests\site_generators_tests.py", line 805, 
in imagepage
        unittest_print(
      File "D:\a\pywikibot\pywikibot\tests\__init__.py", line 195, in 
unittest_print
        print(*args, **kwargs)  # noqa: T201
      File 
"C:\hostedtoolcache\windows\Python\3.9.13\x86\lib\encodings\cp1252.py", line 
19, in encode
        return codecs.charmap_encode(input,self.errors,encoding_table)[0]
    UnicodeEncodeError: 'charmap' codec can't encode character '\u010d' in 
position 84: character maps to <undefined>
    
    ======================================================================
    ERROR: test_image_usage_in_namespaces 
(tests.site_generators_tests.TestImageUsage)
    Test the site.imageusage() method with namespaces.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "D:\a\pywikibot\pywikibot\tests\site_generators_tests.py", line 823, 
in test_image_usage_in_namespaces
        imagepage = self.imagepage
      File "D:\a\pywikibot\pywikibot\tests\site_generators_tests.py", line 805, 
in imagepage
        unittest_print(
      File "D:\a\pywikibot\pywikibot\tests\__init__.py", line 195, in 
unittest_print
        print(*args, **kwargs)  # noqa: T201
      File 
"C:\hostedtoolcache\windows\Python\3.9.13\x86\lib\encodings\cp1252.py", line 
19, in encode
        return codecs.charmap_encode(input,self.errors,encoding_table)[0]
    UnicodeEncodeError: 'charmap' codec can't encode character '\u010d' in 
position 84: character maps to <undefined>
    
    ======================================================================
    ERROR: test_image_usage_in_redirects 
(tests.site_generators_tests.TestImageUsage)
    Test the site.imageusage() method on redirects only.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "D:\a\pywikibot\pywikibot\tests\site_generators_tests.py", line 831, 
in test_image_usage_in_redirects
        imagepage = self.imagepage
      File "D:\a\pywikibot\pywikibot\tests\site_generators_tests.py", line 805, 
in imagepage
        unittest_print(
      File "D:\a\pywikibot\pywikibot\tests\__init__.py", line 195, in 
unittest_print
        print(*args, **kwargs)  # noqa: T201
      File 
"C:\hostedtoolcache\windows\Python\3.9.13\x86\lib\encodings\cp1252.py", line 
19, in encode
        return codecs.charmap_encode(input,self.errors,encoding_table)[0]
    UnicodeEncodeError: 'charmap' codec can't encode character '\u010d' in 
position 84: character maps to <undefined>
    
    ======================================================================
    ERROR: test_image_usage_no_redirect_filter 
(tests.site_generators_tests.TestImageUsage)
    Test the site.imageusage() method with redirects.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "D:\a\pywikibot\pywikibot\tests\site_generators_tests.py", line 839, 
in test_image_usage_no_redirect_filter
        imagepage = self.imagepage
      File "D:\a\pywikibot\pywikibot\tests\site_generators_tests.py", line 805, 
in imagepage
        unittest_print(
      File "D:\a\pywikibot\pywikibot\tests\__init__.py", line 195, in 
unittest_print
        print(*args, **kwargs)  # noqa: T201
      File 
"C:\hostedtoolcache\windows\Python\3.9.13\x86\lib\encodings\cp1252.py", line 
19, in encode
        return codecs.charmap_encode(input,self.errors,encoding_table)[0]
    UnicodeEncodeError: 'charmap' codec can't encode character '\u010d' in 
position 84: character maps to <undefined>

TASK DETAIL
  https://phabricator.wikimedia.org/T371280

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, 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]

Reply via email to