Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests failure #95

Closed
seblu opened this issue Apr 11, 2014 · 1 comment
Closed

Tests failure #95

seblu opened this issue Apr 11, 2014 · 1 comment

Comments

@seblu
Copy link

seblu commented Apr 11, 2014

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?

============================= 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
@methane
Copy link
Member

methane commented Jan 25, 2015

fixed via 7d0e145

@methane methane closed this as completed Jan 25, 2015
SomeoneSerge pushed a commit to SomeoneSerge/arch-community-packages that referenced this issue Sep 4, 2016
- disable test suite: msgpack/msgpack-python#95

git-svn-id: file:///srv/repos/svn-community/svn@109233 9fca08f4-af9d-4005-b8df-a31f2cc04f65
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants