Skip to content

Asserts in module code #12

@DocOtak

Description

@DocOtak

I noticed some assert statements in wod.py specifically:

assert statements are not checked if __debug__ is set to False. While the default for __debug__ is True, this may not always be the case. See:
https://docs.python.org/2/reference/simple_stmts.html#assert

These should probably be replaced with actual if then raise statements.

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