spacepaste

  1.  
  2. ============================= test session starts ==============================
  3. platform linux2 -- Python 2.7.15, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
  4. pytest-2.9.2 from /home/manu/vcs/pypy/pytest.pyc
  5. rootdir: /home/manu/vcs/pypy, inifile: pytest.ini
  6. plugins: backports.unittest-mock-1.2.1
  7. collected 38 items
  8. pypy/module/_collections/test/test_deque.py F
  9. =================================== FAILURES ===================================
  10. ______________________ AppTestBasic.test_deque_repeat_big ______________________
  11. self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x7f1855e5f050>
  12. def test_deque_repeat_big(self):
  13. import sys
  14. from _collections import deque
  15. d = deque([0])
  16. if sys.maxsize <= 2147483647:
  17. d *= 2**16
  18. raises(MemoryError, d.__mul__, 2**16)
  19. raises(MemoryError, d.__rmul__, 2**16)
  20. raises(MemoryError, d.__imul__, 2**16)
  21. else:
  22. d *= 2**8
  23. > raises(MemoryError, d.__mul__, 2**56)
  24. E (application-level) MemoryError
  25. [/home/manu/vcs/pypy/pypy/module/_collections/test/test_deque.py:375]:12: MemoryError
  26. =========================== short test summary info ============================
  27. FAIL pypy/module/_collections/test/test_deque.py::AppTestBasic::()::test_deque_repeat_big
  28. ========================== slowest 10 test durations ===========================
  29. 13.70s setup pypy/module/_collections/test/test_deque.py::AppTestBasic::test_deque_repeat_big
  30. 0.19s call pypy/module/_collections/test/test_deque.py::AppTestBasic::test_deque_repeat_big
  31. 0.00s teardown pypy/module/_collections/test/test_deque.py::AppTestBasic::test_deque_repeat_big
  32. ====================== 37 tests deselected by '-krepeat' =======================
  33. =================== 1 failed, 37 deselected in 15.30 seconds ===================
  34.