Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add to upper function for strings and bytes (#4165)
* feat: add to upper function for strings and bytes * docs(changes): add message for change * fix: add constr upper on types * fix: add constr upper on types * feat: add examples and doc usage * test: add test to upper for types * chore: apply suggestions from code review Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com> * chore(docs): reorder `anystr_upper` to under `anystr_lower` * fix(test): adjust parametrizes to constrained bytes upper * refactor: use pytest parametrize for unify test constrained str upper * refactor: use pytest parametrize for unify test constrained str lower * refactor(test): use pytest parametrize for unify test any str upper * refactor(test): use pytest parametrize for unify test any str lower * refactor(test): use pytest parametrize for unify test constrained bytes lower * refactor(test): use pytest parametrize for unify test any str strip whitespace * refactor(test): change test signatures to improve readability Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
- Loading branch information
Showing
8 changed files
with
106 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add `Config.anystr_upper` and `to_upper` kwarg to constr and conbytes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters