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

TASK DESCRIPTION
  **List of steps to reproduce** (step by step, including full links if 
applicable):
  Running test_bytes_format test of tests.tools_formatter_tests.TestColorFormat 
with pypy 3.6.12 fails. string.Formatter does not raise a TypeError for bytes.
  
  **What happens?**:
  
    ======================================================================
    FAIL: test_bytes_format (tests.tools_formatter_tests.TestColorFormat)
    Test that using `bytes` is not allowed.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/home/runner/work/pwb/pwb/tests/tools_formatter_tests.py", line 
102, in test_bytes_format
        formatter.color_format(b'{0}', 'a')
    AssertionError: TypeError not raised
    
    ----------------------------------------------------------------------
  
  https://github.com/xqt/pwb/runs/4379635222?check_suite_focus=true
  
  **What should have happened instead?**:
  Test should pass.
  
  **Software version (if not a Wikimedia wiki), browser information, 
screenshots, other information, etc**:
  Pywikibot 7.0.0.dev0 test on github
  https://github.com/xqt/pwb/actions/runs/1525189120

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

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

To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Xqt, Jyoo1011, JohnsonLee01, SHEKH, 
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, 
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to