Xqt added a comment.

  Another installation with py 2.7.10 fails too:
  
    C:\pwb\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; 
falling back to using the larger XML datasets.
    WARNING: C:\pwb\core\pywikibot\version.py:100: DeprecationWarning: 
pywikibot.version.getversion_svn is deprecated; use getversion_svn_setuptools 
instead.
      (tag, rev, date, hsh) = vcs_func(_program_dir)
    
    WARNING: C:\pwb\core\pywikibot\version.py:248: DeprecationWarning: 
pywikibot.version.svn_rev_info is deprecated; use getversion_svn_setuptools 
instead.
      tag, rev, date = svn_rev_info(_program_dir)
    
    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 2.094s
    
    FAILED (failures=1, skipped=1)
    
    C:\pwb\core>
  
  I've not added your additional test PS here.

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

Reply via email to