summaryrefslogtreecommitdiff
path: root/Lib/test/test_smtplib.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-11-05 16:20:25 +0200
committerGitHub <noreply@github.com>2018-11-05 16:20:25 +0200
commit34fd4c20198dea6ab2fe8dc6d32d744d9bde868d (patch)
tree7219828610de765ae5c41883b590d5c6f598ade2 /Lib/test/test_smtplib.py
parentad1a25f499362eaf9cbfcafa0b8e2454eb43dcf1 (diff)
downloadcpython-git-34fd4c20198dea6ab2fe8dc6d32d744d9bde868d.tar.gz
bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284)
Two kind of mistakes: 1. Missed space. After concatenating there is no space between words. 2. Missed comma. Causes unintentional concatenating in a list of strings.
Diffstat (limited to 'Lib/test/test_smtplib.py')
-rw-r--r--Lib/test/test_smtplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_smtplib.py b/Lib/test/test_smtplib.py
index 07d760bd01..fdcf6f2192 100644
--- a/Lib/test/test_smtplib.py
+++ b/Lib/test/test_smtplib.py
@@ -805,7 +805,7 @@ class SimSMTPChannel(smtpd.SMTPChannel):
try:
user, hashed_pass = logpass.split()
except ValueError as e:
- self.push('535 Splitting response {!r} into user and password'
+ self.push('535 Splitting response {!r} into user and password '
'failed: {}'.format(logpass, e))
return False
valid_hashed_pass = hmac.HMAC(