summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_datetime.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-05-26 05:28:50 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-05-26 05:28:50 (GMT)
commitb1d867f14965e2369d31a3fcdab5bca34b4d81b4 (patch)
treee12a80fb726447f7e1c09839aae24fd9277258ce /Lib/test/test_datetime.py
parent5db0b3396e664affee09c0cb2094fdafc94acd94 (diff)
downloadcpython-b1d867f14965e2369d31a3fcdab5bca34b4d81b4.zip
cpython-b1d867f14965e2369d31a3fcdab5bca34b4d81b4.tar.gz
cpython-b1d867f14965e2369d31a3fcdab5bca34b4d81b4.tar.bz2
Issue #27076: Doc, comment and test function name spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
Diffstat (limited to 'Lib/test/test_datetime.py')
-rw-r--r--Lib/test/test_datetime.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_datetime.py b/Lib/test/test_datetime.py
index 19ffbcd..1f7fb776 100644
--- a/Lib/test/test_datetime.py
+++ b/Lib/test/test_datetime.py
@@ -882,7 +882,7 @@ class TestDate(HarmlessMixedComparison, unittest.TestCase):
#self.assertRaises(ValueError, t.strftime, "%#")
#oh well, some systems just ignore those invalid ones.
- #at least, excercise them to make sure that no crashes
+ #at least, exercise them to make sure that no crashes
#are generated
for f in ["%e", "%", "%#"]:
try:
@@ -1992,7 +1992,7 @@ class TestTime(HarmlessMixedComparison, unittest.TestCase):
hour_byte + base[1:])
# A mixin for classes with a tzinfo= argument. Subclasses must define
-# theclass as a class atribute, and theclass(1, 1, 1, tzinfo=whatever)
+# theclass as a class attribute, and theclass(1, 1, 1, tzinfo=whatever)
# must be legit (which is true for time and datetime).
class TZInfoBase: