1. Matt Chaput
  2. whoosh
  3. Issues
Issue #352 resolved

tox run on tag 2.5.2 src code gives multiple failures

Thomas Waldmann
created an issue

the python 3.2 issue is obvious a u"..." unicode literal that is not allowed there.

the other seems off by one somehow:

File "/home/tw/w/whoosh/tests/test_collector.py", line 69, in   
    assert pair[1] == b("(\x00\x00\x00\x00\x00\x80\xe1\xa3")
    AssertionError: assert b'(\x00\x00\x00\x00\x00\x80\xe1\xa4' == b'(\x00\x00\x00\x00\x00\x80\xe1\xa3'
+  where b'(\x00\x00\x00\x00\x00\x80\xe1\xa3' = b('(\x00\x00\x00\x00\x00\x80á£')

was that known? add "run tox" to release checklist?

Comments (2)

  1. Matt Chaput repo owner

    Edited u"" to u("") because 3.2 is still in the tox config. Changed whoosh.lang.stopwords to use unicode_literals and set related tests to skip on Python 2.5 because I don't have the energy to make it work today. See issue #352.

    → <<cset 775f24109ef0>>

  2. Log in to comment