Created
March 4, 2014 16:38
-
-
Save squeaky-pl/9350064 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./pytest.py -x ./pypy/objspace/std/test/test_celldict.py | |
============================================================================================================= test session starts ============================================================================================================= | |
platform linux2 -- Python 2.7.3[pypy-2.2.1-final] -- pytest-2.2.4.dev2 | |
pytest-2.2.4.dev2 from /home/squeaky/workspace/pypy/pytest.pyc | |
collected 55 items | |
pypy/objspace/std/test/test_celldict.py ...............F | |
================================================================================================================== FAILURES =================================================================================================================== | |
______________________________________________________________________________________________ TestModuleDictImplementation.test_setdefault_fast ______________________________________________________________________________________________ | |
self = <pypy.objspace.std.test.test_celldict.TestModuleDictImplementation instance at 0x0000000006bde3a0> | |
def test_setdefault_fast(self): | |
on_pypy = "__pypy__" in sys.builtin_module_names | |
impl = self.impl | |
key = FakeString(self.string) | |
x = impl.setdefault(key, 1) | |
assert x == 1 | |
if on_pypy: | |
> assert key.hash_count == 1 | |
E assert 3 == 1 | |
E + where 3 = 3 | |
E + where 3 = 'fish'.hash_count | |
pypy/objspace/std/test/test_dictmultiobject.py:1243: AssertionError | |
=========================================================================================================== short test summary info =========================================================================================================== | |
FAIL pypy/objspace/std/test/test_celldict.py::TestModuleDictImplementation::()::test_setdefault_fast | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
===================================================================================================== 1 failed, 15 passed in 5.32 seconds ==================================================================================================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment