Skip to content

Failure in test suite #33

Description

@fabaff

In 0.9.0 is a failure which now prevents the RPM package for Fedora to be build.

$ python3 setup.py test
running test
running egg_info
writing json5.egg-info/PKG-INFO
writing dependency_links to json5.egg-info/dependency_links.txt
writing entry points to json5.egg-info/entry_points.txt
writing top-level names to json5.egg-info/top_level.txt
reading manifest file 'json5.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'json5.egg-info/SOURCES.txt'
running build_ext
test_basic (tests.lib_test.TestDump) ... ok
[...]
test_unknown_switch (tests.tool_test.ToolTest) ... ok
test_version (tests.tool_test.ToolTest) ... ok

======================================================================
FAIL: test_skip_keys (tests.lib_test.TestDumps)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/fab/Documents/repos/pyjson5/tests/lib_test.py", line 379, in test_skip_keys
    '{foo: 1}')
AssertionError: '{foo: 1, }' != '{foo: 1}'
- {foo: 1, }
?        --
+ {foo: 1}


----------------------------------------------------------------------
Ran 61 tests in 0.121s

FAILED (failures=1)
Test failed: <unittest.runner.TextTestResult run=61 errors=0 failures=1>
error: Test failed: <unittest.runner.TextTestResult run=61 errors=0 failures=1>

Would be nice if you could fix it and release 0.9.1. Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions