mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fix typo in test's docstring (GH-17856)
* Fix typo in test's docstring. contination -> continuation.
This commit is contained in:
parent
ed367815ee
commit
2f65aa4658
1 changed files with 1 additions and 1 deletions
|
@ -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\\')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue