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

kumaraditya303 webhook-mailer at python.org
Sat Feb 11 10:34:22 EST 2023


https://github.com/python/cpython/commit/3eb12df8b526aa5a2ca6b43f21a1c5e7d38ee634
commit: 3eb12df8b526aa5a2ca6b43f21a1c5e7d38ee634
branch: main
author: mjoerg <mjoerg at users.noreply.github.com>
committer: kumaraditya303 <59607654+kumaraditya303 at users.noreply.github.com>
date: 2023-02-11T21:04:15+05:30
summary:

Fix typo in test_fstring.py (#101823)

files:
M Lib/test/test_fstring.py

diff --git a/Lib/test/test_fstring.py b/Lib/test/test_fstring.py
index a50056da116e..b3f6ef41d77b 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 messages are raised when a specfier ('!', ':' or '=') is used after an empty expression
+        # Different error messages are raised when a specifier ('!', ':' 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