Skip to content

Fix test failure in Python 3.5 and up #105

@StevenMaude

Description

@StevenMaude

Output for Python 3.5, but same test failure for Python 3.6, 3.7 and 3.8.

$ nosetests --exe

...................................F.

======================================================================

FAIL: test_empty (tests.TestUniqueKeys)

----------------------------------------------------------------------

Traceback (most recent call last):

  File "/home/travis/build/scraperwiki/scraperwiki-python/tests.py", line 140, in test_empty

    self.assertEqual(observed, {u'data': [], u'keys': []})

AssertionError: {'data': [], 'keys': ['seq', 'name', 'unique', 'origin', 'partial']} != {'data': [], 'keys': []}

- {'data': [], 'keys': ['seq', 'name', 'unique', 'origin', 'partial']}

+ {'data': [], 'keys': []}

----------------------------------------------------------------------

Ran 37 tests in 1.218s

FAILED (failures=1)

The command "nosetests --exe" exited with 1.

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