[Python-checkins] Fix typo in test's docstring (GH-17856)
Karthikeyan Singaravelan
webhook-mailer at python.org
Thu Jan 9 12:07:37 EST 2020
https://github.com/python/cpython/commit/2f65aa465865930f8364645b1466d2751c4086d3
commit: 2f65aa465865930f8364645b1466d2751c4086d3
branch: master
author: Daniel Hahler <git at thequod.de>
committer: Karthikeyan Singaravelan <tir.karthi at gmail.com>
date: 2020-01-09T22:37:32+05:30
summary:
Fix typo in test's docstring (GH-17856)
* Fix typo in test's docstring. contination -> continuation.
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