[Python-checkins] Fix typo in test's docstring (GH-17856) (GH-17923)

Karthikeyan Singaravelan webhook-mailer at python.org
Thu Jan 9 12:33:09 EST 2020


https://github.com/python/cpython/commit/e47a7e3a7ab2cfb321e5f276028be286f30bd057
commit: e47a7e3a7ab2cfb321e5f276028be286f30bd057
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Karthikeyan Singaravelan <tir.karthi at gmail.com>
date: 2020-01-09T23:03:05+05:30
summary:

Fix typo in test's docstring (GH-17856) (GH-17923)

* Fix typo in test's docstring. contination -> continuation.
(cherry picked from commit 2f65aa465865930f8364645b1466d2751c4086d3)

Co-authored-by: Daniel Hahler <git at thequod.de>

Co-authored-by: Daniel Hahler <github at thequod.de>

files:
M Lib/test/test_eof.py

diff --git a/Lib/test/test_eof.py b/Lib/test/test_eof.py
index a091ceaa25bc4..9ef8eb1187486 100644
--- a/Lib/test/test_eof.py
+++ b/Lib/test/test_eof.py
@@ -27,7 +27,7 @@ def test_EOFS(self):
             raise support.TestFailed
 
     def test_line_continuation_EOF(self):
-        """A contination at the end of input must be an error; bpo2180."""
+        """A continuation at the end of input must be an error; bpo2180."""
         expect = 'unexpected EOF while parsing (<string>, line 1)'
         with self.assertRaises(SyntaxError) as excinfo:
             exec('x = 5\\')



More information about the Python-checkins mailing list