[Python-checkins] Fix typo in test_typing.py (GH-26853)

gvanrossum webhook-mailer at python.org
Tue Jun 22 18:42:36 EDT 2021


https://github.com/python/cpython/commit/35b773accb41f09e40bf17bfaa5f0bc80796a26c
commit: 35b773accb41f09e40bf17bfaa5f0bc80796a26c
branch: main
author: Ikko Ashimine <eltociear at gmail.com>
committer: gvanrossum <gvanrossum at gmail.com>
date: 2021-06-22T15:42:28-07:00
summary:

Fix typo in test_typing.py (GH-26853)

maximium -> maximum

files:
M Lib/test/test_typing.py

diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py
index eff0f5bfc4b1e..cb198d6b75fd6 100644
--- a/Lib/test/test_typing.py
+++ b/Lib/test/test_typing.py
@@ -517,7 +517,7 @@ def test_basics(self):
 
     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}]



More information about the Python-checkins mailing list