mirror of https://github.com/python/cpython
Fix typo in test_typing.py (GH-26853)
maximium -> maximum
This commit is contained in:
parent
6af4e6b266
commit
35b773accb
|
@ -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…
Reference in New Issue