Skip to content

NotImplementedError returned instead of raised #144

@dacevedo12

Description

@dacevedo12

There are some functions like from_native in the VersionRange base class that return this exception instead of raising it.

This leads to a TypeError when using it as version in version_range.from_native(...), effectively attempting __contains__ over an exception class

Is this intended?

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