]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in test's docstring (GH-17856)
authorDaniel Hahler <git@thequod.de>
Thu, 9 Jan 2020 17:07:32 +0000 (18:07 +0100)
committerKarthikeyan Singaravelan <tir.karthi@gmail.com>
Thu, 9 Jan 2020 17:07:32 +0000 (22:37 +0530)
* Fix typo in test's docstring. contination -> continuation.

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\\')