-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
53d2d95
commit 24bbd90
Showing
2 changed files
with
7 additions
and
0 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,4 @@ | ||
Add some new helpers to `plover_build_utils.testing`: | ||
- `dictionary_test`: torture tests for dictionary implementations. | ||
- `make_dict`: create a temporary dictionary. | ||
- `parametrize`: parametrize helper for tracking test data source line numbers. |
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,3 @@ | ||
Fix 2 corner cases when handling dictionaries: | ||
- If the class implementation is marked as read-only, then loading from a writable file should still result in a read-only dictionary. | ||
- Don't allow `clear` on a read-only dictionary. |