Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
2dc82059
Commit
2dc82059
authored
Sep 25, 2004
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Since the doctest warnings section was reduced to one bullet point,
get rid of the itemize structure.
parent
39c5de03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
Doc/lib/libdoctest.tex
Doc/lib/libdoctest.tex
+6
-10
No files found.
Doc/lib/libdoctest.tex
View file @
2dc82059
...
@@ -712,14 +712,12 @@ can be useful.
...
@@ -712,14 +712,12 @@ can be useful.
\subsubsection
{
Warnings
\label
{
doctest-warnings
}}
\subsubsection
{
Warnings
\label
{
doctest-warnings
}}
\begin{itemize}
\module
{
doctest
}
is serious about requiring exact matches in expected
output. If even a single character doesn't match, the test fails. This
\item
\module
{
doctest
}
is serious about requiring exact matches in expected
will probably surprise you a few times, as you learn exactly what Python
output. If even a single character doesn't match, the test fails. This
does and doesn't guarantee about output. For example, when printing a
will probably surprise you a few times, as you learn exactly what Python
dict, Python doesn't guarantee that the key-value pairs will be printed
does and doesn't guarantee about output. For example, when printing a
in any particular order, so a test like
dict, Python doesn't guarantee that the key-value pairs will be printed
in any particular order, so a test like
% Hey! What happened to Monty Python examples?
% Hey! What happened to Monty Python examples?
% Tim: ask Guido -- it's his example!
% Tim: ask Guido -- it's his example!
...
@@ -788,8 +786,6 @@ often contrive doctest examples to produce numbers of that form:
...
@@ -788,8 +786,6 @@ often contrive doctest examples to produce numbers of that form:
Simple fractions are also easier for people to understand, and that makes
Simple fractions are also easier for people to understand, and that makes
for better documentation.
for better documentation.
\end{itemize}
\subsection
{
Basic API
\label
{
doctest-basic-api
}}
\subsection
{
Basic API
\label
{
doctest-basic-api
}}
The functions
\function
{
testmod()
}
and
\function
{
testfile()
}
provide a
The functions
\function
{
testmod()
}
and
\function
{
testfile()
}
provide a
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment