diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-05-26 05:35:26 +0000 |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-05-26 05:35:26 +0000 |
commit | 46f50726a0047ae81d478c3a206f587b8f35ed08 (patch) | |
tree | 2046fa568e0abebe8f055b30fbbd4585a429a708 /Lib/unittest | |
parent | Added Type[C] implementation to typing.py. (diff) | |
download | cpython-46f50726a0047ae81d478c3a206f587b8f35ed08.tar.gz cpython-46f50726a0047ae81d478c3a206f587b8f35ed08.tar.bz2 cpython-46f50726a0047ae81d478c3a206f587b8f35ed08.zip |
Issue #27076: Doc, comment and tests spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
Diffstat (limited to 'Lib/unittest')
-rw-r--r-- | Lib/unittest/loader.py | 2 | ||||
-rw-r--r-- | Lib/unittest/result.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/unittest/loader.py b/Lib/unittest/loader.py index b254c8086b6..eb447d7ab6d 100644 --- a/Lib/unittest/loader.py +++ b/Lib/unittest/loader.py @@ -387,7 +387,7 @@ class TestLoader(object): if tests is not None: yield tests if not should_recurse: - # Either an error occured, or load_tests was used by the + # Either an error occurred, or load_tests was used by the # package. return # Handle the contents. diff --git a/Lib/unittest/result.py b/Lib/unittest/result.py index a18f11bf5d0..c7e3206d749 100644 --- a/Lib/unittest/result.py +++ b/Lib/unittest/result.py @@ -148,7 +148,7 @@ class TestResult(object): self.skipped.append((test, reason)) def addExpectedFailure(self, test, err): - """Called when an expected failure/error occured.""" + """Called when an expected failure/error occurred.""" self.expectedFailures.append( (test, self._exc_info_to_string(err, test))) |