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

BitSet test failure with pypy 1.8

Thomas Waldmann
created an issue

This is not a whoosh bug, but a pypy bug: https://bugs.pypy.org/issue1131

There is a test failure when running under pypy 1.8 caused by bitvector.BitSet.contains - pypy does not coerce the return value to bool (as cpython does).

{{{ File "/home/tw/w/whoosh/tests/test_bits.py", line 15, in test_bit_basics False]) AssertionError: Lists differ: [1, 0, 4, 0, 16, 0, 64, 128, F... != [True, False, True, False, Tru... }}}

I just thought I put a note in here in case someone else is wondering about this.

Comments (2)

  1. Log in to comment