mirror of
https://github.com/django/django.git
synced 2025-08-01 17:42:56 +00:00
Fixed #1626 -- Fixed a bunch of typos in comments and docs. Thanks, Dexter
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
853ee34191
commit
00b3891524
9 changed files with 11 additions and 11 deletions
|
@ -846,7 +846,7 @@ class DocTestFinder:
|
|||
if extraglobs is not None:
|
||||
globs.update(extraglobs)
|
||||
|
||||
# Recursively expore `obj`, extracting DocTests.
|
||||
# Recursively explore `obj`, extracting DocTests.
|
||||
tests = []
|
||||
self._find(tests, obj, name, module, source_lines, globs, {})
|
||||
return tests
|
||||
|
@ -1210,7 +1210,7 @@ class DocTestRunner:
|
|||
# Process each example.
|
||||
for examplenum, example in enumerate(test.examples):
|
||||
|
||||
# If REPORT_ONLY_FIRST_FAILURE is set, then supress
|
||||
# If REPORT_ONLY_FIRST_FAILURE is set, then suppress
|
||||
# reporting after the first failure.
|
||||
quiet = (self.optionflags & REPORT_ONLY_FIRST_FAILURE and
|
||||
failures > 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue