8000 BUG : testing the number of unique hours in the dataset · Issue #3 · jakevdp/JupyterWorkflow · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
BUG : testing the number of unique hours in the dataset #3
Open
@rahulporuri

Description

@rahulporuri

shouldn't https://github.com/jakevdp/JupyterWorkflow/blob/master/jupyterworkflow/tests/test_data.py#L10 be assert len(...) == 24 instead of assert len(... == 24). the test was passing because comparing the numpy array with 24 produced a boolean array of non-zero length.

Sorry if I'm missing something obvious.
Kudos to the awesome playlist :)

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

      0