Xqt added a comment.
Got an additional error when testing with current release:
C:\pwb\GIT\core>pwb.py tests/wikistats_tests -v
tests: max_retries reduced from 25 to 1
WARNING: WikiStats: unicodecsv package required for using csv in Python 2;
falli
ng back to using the larger XML datasets.
test_csv (__main__.WikiStatsTestCase)
Test CSV. ... skipped 'unicodecsv not installed.'
test_sort (__main__.WikiStatsTestCase)
Test sorted results. ... FAIL
test_xml (__main__.WikiStatsTestCase)
Test XML. ... ok
======================================================================
FAIL: test_sort (__main__.WikiStatsTestCase)
Test sorted results.
----------------------------------------------------------------------
Traceback (most recent call last):
File ".\tests\wikistats_tests.py", line 33, in test_sort
self.assertIsInstance(top['total'], UnicodeType)
AssertionError: '38708706' is not an instance of <type 'unicode'>
----------------------------------------------------------------------
Ran 3 tests in 1.863s
TASK DETAIL
https://phabricator.wikimedia.org/T128990
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: gerritbot, Xqt, Aklapper, jayvdb, pywikibot-bugs-list, Lewizho99
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs