Skip to content

Conversation

Liam-DeVoe
Copy link

Closes #767.

@notatallshaw
Copy link
Member

I'm supportive of this PR because it brings contains inline with filter which already discards invalid versions instead of throwing an error.

You've added tests for Specifier.contains, SpecifierSet.contains, and SpecifierSet.filter, but you are missing tests for Specifier.filter which should be the same ones you added to TestSpecifierSet.test_specifier_filter but for TestSpecifier.test_specifier_filter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Permit contains calls to Specifier[Set] to use arbitrary strings
2 participants