-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-69714: Make calendar
module fully tested
#93655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
cb0523e
Increased test coverage of calendar module
rohitmediratta 78935da
gh-69714: Restore the test thrown out by cb0523e67c
bxsx 0dd6321
gh-69714: Increase test coverage for `calendar.Locale{Text|HTML}Calen…
bxsx 69c8f4f
gh-69714: Add missing test cases for custom locale in `calendar.Local…
bxsx a96786c
gh-69714: Remove unreachable code (and increase test coverage)
bxsx 636b4e1
gh-69714: Increase CLI tests coverage
bxsx 238c527
gh-69714: Add more test cases to `calendar` cmdline
bxsx b850c92
gh-69714: Increase test coverage for `calendar` cmdline
bxsx ab069a4
gh-57539: Add tests for `LocaleTextCalendar.formatweekday`
jesstess f1febfc
gh-69714: Increase test coverage for `LocaleTextCalendar.formatmonthn…
bxsx e9e8825
Merge branch 'main' into gh-69714/calendar-test-coverage
bxsx 827e664
Remove comment
bxsx d28e2e4
gh-69714: Reorder locale in the test case
bxsx bbdc393
gh-69714: Extract test case
bxsx 8914cdc
Update ACKS
bxsx 68adf69
Add NEWS entry
bxsx 40e0da3
Revert "gh-69714: Remove unreachable code (and increase test coverage)"
bxsx 2b6f1f9
Expand the try clause to calls to `LocaleTextCalendar.formatmonthname…
bxsx 64cb029
Revert "Revert "gh-69714: Remove unreachable code (and increase test …
bxsx 2b2c8ef
Add missing whitespace
bxsx 8b7bc06
gh-69714: Move the validation to the beginning of the function
bxsx de21a51
gh-69714: Increase test coverage for illegal arguments
bxsx ab5a508
Revert "gh-69714: Add more test cases to `calendar` cmdline"
bxsx 1558845
Clean up redundant arguments
bxsx 0aa0caf
gh-69417: Include cases with odd widths in `formatmonthname`
bxsx e73fc9e
gh-69714: Split tests for LocaleTextCalendar and LocaleHTMLCalendar
bxsx 5b094ae
Merge branch 'main' into gh-69714/calendar-test-coverage
iritkatriel 87feac0
Merge branch 'main' into gh-69714/calendar-test-coverage
bxsx 81d09b2
Merge branch 'main' into gh-69714/calendar-test-coverage
bxsx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Expand the try clause to calls to `LocaleTextCalendar.formatmonthname…
…()`. This method temporarily changes the current locale to the given locale, so `_locale.setlocale()` may raise `local.Error`.
- Loading branch information
commit 2b6f1f9b2d8cf8d2c2054a7d69b95f04efa2cbd0
There are no files selected for viewing
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.