Skip to content

NotImplementedError returned instead of raised #144

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?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions