Skip to content

Tests fail with Python 3.8 #125

@dbast

Description

@dbast

Failure is persistent with Python 3.8 on linux/osx/win (64bit):

=================================== FAILURES ===================================
____________________________ test_intenums_as_ints _____________________________

    @pytest.mark.unit
    def test_intenums_as_ints():
        class IE(enum.IntEnum):
            val = 123
            bigval = 123123123123123123123123
    
>       assert rj.dumps([IE.val, IE.bigval]) == "[123,123123123123123123123123]"
E       AssertionError: assert '[<IE.val: 12...23123123123>]' == '[123,12312312...123123123123]'
E         - [<IE.val: 123>,<IE.bigval: 123123123123123123123123>]
E         + [123,123123123123123123123123]

tests/test_enum.py:22: AssertionError
========= 1 failed, 679 passed, 16 skipped, 2 xfailed in 2.65 seconds ==========

See also conda-forge/python-rapidjson-feedstock#21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions