Xqt created this task.
Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
removing unittest.expectedFailure it fails as expected and should be fixed:
C:\pwb\GIT\core>pwb.py tests/page_tests -v TestPageRepr.test_ASCII_comatible
tests: max_retries reduced from 25 to 1
test_ASCII_comatible (__main__.TestPageRepr)
Test that repr returns ASCII compatible bytes in Python 2. ... ERROR
======================================================================
ERROR: test_ASCII_comatible (__main__.TestPageRepr)
Test that repr returns ASCII compatible bytes in Python 2.
----------------------------------------------------------------------
Traceback (most recent call last):
File ".\tests\page_tests.py", line 620, in test_ASCII_comatible
repr(page).decode('ascii')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5:
ordinal not in range(128)
----------------------------------------------------------------------
Ran 1 test in 0.007s
FAILED (errors=1)
C:\pwb\GIT\core>
TASK DETAIL
https://phabricator.wikimedia.org/T130919
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, jayvdb
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs