Skip to content

add tests for version util functions#13991

Open
RavSinghChandan wants to merge 2 commits into
explosion:masterfrom
RavSinghChandan:tests-version-utils
Open

add tests for version util functions#13991
RavSinghChandan wants to merge 2 commits into
explosion:masterfrom
RavSinghChandan:tests-version-utils

Conversation

@RavSinghChandan

Copy link
Copy Markdown

noticed a few of the version helpers in util.py had no tests — get_minor_version_range, get_base_version and split_requirement — so added parametrized tests for them in test_misc.py, next to the existing test_minor_version.

nothing fancy, just pins the current behaviour (the range string, stripping prerelease bits off the base version, and splitting a requirement into name + specifier).

also included the signed contributor agreement since this is my first PR here.

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.

1 participant