]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in test_typing.py (GH-26853)
authorIkko Ashimine <eltociear@gmail.com>
Tue, 22 Jun 2021 22:42:28 +0000 (07:42 +0900)
committerGitHub <noreply@github.com>
Tue, 22 Jun 2021 22:42:28 +0000 (15:42 -0700)
maximium -> maximum

Lib/test/test_typing.py

index eff0f5bfc4b1e16af3b7974452b3e5cd35992b48..cb198d6b75fd6e9fd28dde825fcf681dcfd034cf 100644 (file)
@@ -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}]