summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-07-01 09:17:05 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-07-01 09:17:05 (GMT)
commite39682b0768bcf06d3c0d8480dd2f98824afafe6 (patch)
tree706f55e28c8ee877a4bbaca848a4e651243f5f46 /Lib
parent660c8fc997f34b7474c23a993105a37b7277554f (diff)
downloadcpython-e39682b0768bcf06d3c0d8480dd2f98824afafe6.zip
cpython-e39682b0768bcf06d3c0d8480dd2f98824afafe6.tar.gz
cpython-e39682b0768bcf06d3c0d8480dd2f98824afafe6.tar.bz2
Issue #27430: Fix typos, patch by scop.
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/smtplib.py2
-rw-r--r--Lib/unittest/test/test_case.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/smtplib.py b/Lib/smtplib.py
index dfbf5f9..5b9e665 100755
--- a/Lib/smtplib.py
+++ b/Lib/smtplib.py
@@ -900,7 +900,7 @@ class SMTP:
the recipient addresses contain non-ASCII and the server advertises the
SMTPUTF8 capability, the policy is cloned with utf8 set to True for the
serialization, and SMTPUTF8 and BODY=8BITMIME are asserted on the send.
- If the server does not support SMTPUTF8, an SMPTNotSupported error is
+ If the server does not support SMTPUTF8, an SMTPNotSupported error is
raised. Otherwise the generator is called without modifying the
policy.
diff --git a/Lib/unittest/test/test_case.py b/Lib/unittest/test/test_case.py
index 1fb95dc..8f752b8 100644
--- a/Lib/unittest/test/test_case.py
+++ b/Lib/unittest/test/test_case.py
@@ -339,7 +339,7 @@ class Test_TestCase(unittest.TestCase, TestEquality, TestHashing):
self._check_call_order__subtests(result, events, expected)
def test_run_call_order__subtests_legacy(self):
- # With a legacy result object (without a addSubTest method),
+ # With a legacy result object (without an addSubTest method),
# text execution stops after the first subtest failure.
events = []
result = LegacyLoggingResult(events)