Issue #242 resolved

fieldcache related test failures with pypy 1.8

Thomas Waldmann
created an issue

Somehow the fieldcache related code isn't compatible with pypy:

{{{

FAIL: test_sorting.test_persistent_cache

Traceback (most recent call last): File "/home/tw/w/whoosh/.tox/pypy/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/tw/w/whoosh/tests/test_sorting.py", line 118, in test_persistent_cache assert not r.fieldcache_loaded("id") AssertionError

====================================================================== FAIL: test_sorting.test_float_cache


Traceback (most recent call last): File "/home/tw/w/whoosh/.tox/pypy/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/tw/w/whoosh/tests/test_sorting.py", line 139, in test_float_cache assert not r.fieldcache_loaded("num") AssertionError

====================================================================== FAIL: test_sorting.test_long_cache


Traceback (most recent call last): File "/home/tw/w/whoosh/.tox/pypy/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/tw/w/whoosh/tests/test_sorting.py", line 162, in test_long_cache assert not r.fieldcache_loaded("num") AssertionError }}}

Comments (4)

  1. Thomas Waldmann reporter

    also happens with a recent pypy nightly build and current repo tip.

    note: I added ", pypy" to the list of pythons in tox.ini for testing and then just invoked "tox".

  2. Log in to comment