Skip to content

add tests for version util functions - #13991

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

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.

@RavSinghChandan

Copy link
Copy Markdown
Author

Closing this since it's been open a while without review. Happy to reopen if it's still useful. Thanks!

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