]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in test's docstring (GH-17856) (GH-17923)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 9 Jan 2020 17:33:05 +0000 (09:33 -0800)
committerKarthikeyan Singaravelan <tir.karthi@gmail.com>
Thu, 9 Jan 2020 17:33:05 +0000 (23:03 +0530)
* Fix typo in test's docstring. contination -> continuation.
(cherry picked from commit 2f65aa465865930f8364645b1466d2751c4086d3)

Co-authored-by: Daniel Hahler <git@thequod.de>
Co-authored-by: Daniel Hahler <github@thequod.de>
Lib/test/test_eof.py

index a091ceaa25bc4fc2b67a76c1fbd38951e5b5c658..9ef8eb1187486f34905c0210ac8756a85460f3f8 100644 (file)
@@ -27,7 +27,7 @@ class EOFTestCase(unittest.TestCase):
             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\\')