-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: fix type hinting on test_jujuversion tests (#1011)
* Fix the type hint. If a string is passed, we'll convert it to a JujuVersion, so the correct type is JujuVersion|str. * Ignore type warning. This is a dict(str, str) but it's not worth defining that and making the decorator call messy in this specific test case. * Avoid backsliding on static checks.
- Loading branch information
1 parent
fa60525
commit 8c09aa2
Showing
3 changed files
with
4 additions
and
3 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
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