You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used to run py.test test during the packaging of this package on Archlinux. Since last version (0.4.2), tests fail with 2 overflows. Is that something expected? Could we expect a runnable test suite in futher versions?
============================= test session starts ==============================
platform linux -- Python 3.4.0 -- py-1.4.20 -- pytest-2.5.2
collected 81 items
test/test_buffer.py ..
test/test_case.py .............
test/test_except.py ...
test/test_extension.py ...
test/test_format.py ..........
test/test_limits.py .FF
test/test_newspec.py .....
test/test_obj.py ........
test/test_pack.py ................
test/test_read_size.py ......
test/test_seq.py .
test/test_sequnpack.py .....
test/test_subtype.py .
test/test_unpack.py ...
test/test_unpack_raw.py ..
=================================== FAILURES ===================================
______________________________ test_array_header _______________________________
def test_array_header():
packer = Packer()
packer.pack_array_header(2**32-1)
with pytest.raises(ValueError):
> packer.pack_array_header(2**32)
test/test_limits.py:25:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E OverflowError: Python int too large to convert to C unsigned long
_packer.pyx:240: OverflowError
_______________________________ test_map_header ________________________________
def test_map_header():
packer = Packer()
packer.pack_map_header(2**32-1)
with pytest.raises(ValueError):
> packer.pack_array_header(2**32)
test/test_limits.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E OverflowError: Python int too large to convert to C unsigned long
_packer.pyx:240: OverflowError
===================== 2 failed, 79 passed in 0.36 seconds ======================
==> ERROR: A failure occurred in check().
Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/extra-i686/seblu/build
The text was updated successfully, but these errors were encountered:
Hello,
I used to run
py.test test
during the packaging of this package on Archlinux. Since last version (0.4.2), tests fail with 2 overflows. Is that something expected? Could we expect a runnable test suite in futher versions?The text was updated successfully, but these errors were encountered: