mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +00:00
Fix typo in test_typing.py (GH-26853)
maximium -> maximum
This commit is contained in:
parent
6af4e6b266
commit
35b773accb
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ class LiteralTests(BaseTestCase):
|
|||
|
||||
def test_illegal_parameters_do_not_raise_runtime_errors(self):
|
||||
# Type checkers should reject these types, but we do not
|
||||
# raise errors at runtime to maintain maximium flexibility.
|
||||
# raise errors at runtime to maintain maximum flexibility.
|
||||
Literal[int]
|
||||
Literal[3j + 2, ..., ()]
|
||||
Literal[{"foo": 3, "bar": 4}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue