[Python-checkins] Fix typo in `test_fstring.py` (#101600)

kumaraditya303 webhook-mailer at python.org
Thu Feb 9 12:46:05 EST 2023


https://github.com/python/cpython/commit/272da55affe6f2b3b73ff5474e1246089517d051
commit: 272da55affe6f2b3b73ff5474e1246089517d051
branch: main
author: Ikko Eltociear Ashimine <eltociear at gmail.com>
committer: kumaraditya303 <59607654+kumaraditya303 at users.noreply.github.com>
date: 2023-02-09T23:15:58+05:30
summary:

Fix typo in `test_fstring.py` (#101600)

files:
M Lib/test/test_fstring.py

diff --git a/Lib/test/test_fstring.py b/Lib/test/test_fstring.py
index 318f38a6ed5b..a50056da116e 100644
--- a/Lib/test/test_fstring.py
+++ b/Lib/test/test_fstring.py
@@ -667,7 +667,7 @@ def test_missing_expression(self):
                              "f'''{\t\f\r\n}'''",
                              ])
 
-        # Different error messeges are raised when a specfier ('!', ':' or '=') is used after an empty expression
+        # Different error messages are raised when a specfier ('!', ':' or '=') is used after an empty expression
         self.assertAllRaise(SyntaxError, "f-string: expression required before '!'",
                             ["f'{!r}'",
                              "f'{ !r}'",



More information about the Python-checkins mailing list