Page MenuHomePhabricator

Win32 Python 2.6.5 fails TestPwb.test_unicode
Closed, DeclinedPublic

Description

Using Python 2.6.5 on Win32, TestPwb.test_unicode fails

======================================================================
FAIL: test_unicode (tests.pwb_tests.TestPwb)
Test printing unicode in pywikibot.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\projects\pywikibot-core\tests\pwb_tests.py", line 77, in test_unicode
    self.assertEqual('Häuser', direct['stderr'].strip())
AssertionError: <unprintable AssertionError object>

Given there are other unicode tests in page_tests that do not fail, this is likely a problem in the text UI interface / unittest runner, rather than a widespread problem.

Related Objects

Event Timeline

jayvdb raised the priority of this task from to Lowest.
jayvdb updated the task description. (Show Details)
jayvdb added projects: Pywikibot, Pywikibot-tests.
jayvdb subscribed.
Xqt subscribed.

py2.6 will be dropped, see T154771 and 2.6.5 isn't supported currently