Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed redundant versionadded{} for NDIFF_DIFF. Virtually everything | Tim Peters | 2004-08-23 | 1 | -1/+0 |
| | | | | | | in this section is new in 2.4, and that's all mentioned already in versionadded{} thingies at the end of the section. It hurts readability to have them after every line <wink>. | ||||
* | Add version info | Neal Norwitz | 2004-08-22 | 1 | -0/+1 |
| | |||||
* | Added NDIFF_DIFF option. | Tim Peters | 2004-08-22 | 1 | -1/+11 |
| | |||||
* | Quote # as \# to make lib compile again. | Johannes Gijsbers | 2004-08-20 | 1 | -1/+1 |
| | |||||
* | Now that they've settled down, document doctest directives. | Tim Peters | 2004-08-19 | 1 | -8/+66 |
| | |||||
* | Another microburst of snail-like progress. | Tim Peters | 2004-08-13 | 1 | -106/+94 |
| | |||||
* | Doctest has new traceback gimmicks in 2.4. While trying to document | Tim Peters | 2004-08-13 | 1 | -18/+80 |
| | | | | | | them (which they are now), I had to rewrite the code to understand it. This has got to be the most DWIM part of doctest -- but in context is really necessary. | ||||
* | Markup fiddling. | Tim Peters | 2004-08-13 | 1 | -7/+7 |
| | |||||
* | Excruciatingly slow progress on the docs. Option flags / directive names | Tim Peters | 2004-08-12 | 1 | -54/+77 |
| | | | | are documented now, and ripped out a bunch of "private name" convolutions. | ||||
* | minor changes to make this format again | Fred Drake | 2004-08-10 | 1 | -2/+2 |
| | |||||
* | Start rewriting doctest's LaTeX docs. Damn, this is slow going! | Tim Peters | 2004-08-10 | 1 | -28/+147 |
| | |||||
* | A few trivial edits. | Tim Peters | 2004-07-23 | 1 | -4/+4 |
| | |||||
* | Patch #932930: suggest the use of rawstrings for backslashes. | Martin v. Löwis | 2004-05-31 | 1 | -9/+20 |
| | |||||
* | Patch #849350: Update to document bool return values. Backported to 2.3. | Martin v. Löwis | 2003-11-27 | 1 | -1/+1 |
| | |||||
* | SF patch#786531 'the the' typo. Contributed by George Yoshida | Raymond Hettinger | 2003-08-12 | 1 | -1/+1 |
| | |||||
* | more markup chages | Fred Drake | 2003-07-17 | 1 | -33/+38 |
| | |||||
* | - remove mention of the isprivate flag, since that isn't directly | Fred Drake | 2003-07-17 | 1 | -15/+12 |
| | | | | | documented here, and according to Tim, should never have been there - misc. cleanups for consistency | ||||
* | Minor corrections. | Raymond Hettinger | 2003-07-17 | 1 | -1/+7 |
| | |||||
* | Doctest now examines all docstrings by default. Previously, it would | Raymond Hettinger | 2003-07-16 | 1 | -6/+7 |
| | | | | | | | | | | | | skip over functions with private names (as indicated by the underscore naming convention). The old default created too much of a risk that user tests were being skipped inadvertently. Note, this change could break code in the unlikely case that someone had intentionally put failing tests in the docstrings of private functions. The breakage is easily fixable by specifying the old behavior when calling testmod() or Tester(). The more likely case is that the silent failure was unintended and that the user needed to be informed so the test could be fixed. | ||||
* | Document Jim Fulton's docttest extensions. | Raymond Hettinger | 2003-07-11 | 1 | -8/+70 |
| | |||||
* | fix markup nits | Fred Drake | 2003-06-28 | 1 | -12/+12 |
| | |||||
* | A hack to ease compatibility with pre-2.3 Pythons: by default, doctest | Tim Peters | 2003-06-27 | 1 | -0/+17 |
| | | | | | | | | | | | | | | now accepts "True" when a test expects "1", and similarly for "False" versus "0". This is un-doctest-like, but on balance makes it much more pleasant to write doctests that pass under 2.2 and 2.3. I expect it to go away again, when 2.2 is forgotten. In the meantime, there's a new doctest module constant that can be passed to a new optional argument, if you want to turn this behavior off. Note that this substitution is very simple-minded: the expected and actual outputs have to consist of single tokens. No attempt is made, e.g., to accept [True, False] when a test expects [1, 0]. This is a simple hack for simple tests, and I intend to keep it that way. | ||||
* | Patch #486438: Make module argument to testmod optional. | Martin v. Löwis | 2002-11-22 | 1 | -1/+5 |
| | |||||
* | CVS patch [#466628] Doc changes for doctest patch (#466616), from | Tim Peters | 2001-10-02 | 1 | -25/+2 |
| | | | | Tim Hochberg. Doctest no longer searches imported objects. | ||||
* | Fix recent changes so that this section will format again. | Fred Drake | 2001-06-11 | 1 | -2/+3 |
| | |||||
* | add warning about situation where code may be executed twice, once when | Skip Montanaro | 2001-06-08 | 1 | -0/+10 |
| | | | | module is __main__ and once when module is imported. | ||||
* | Change {\em ...} to \emph{...} for consistency with the rest of the Python | Fred Drake | 2001-04-05 | 1 | -1/+1 |
| | | | | documentation. | ||||
* | Work around the broken formatting of sys.ps1 prompts in running text. | Fred Drake | 2001-02-22 | 1 | -46/+48 |
| | | | | | | | Move sample sessions to the left margin of the file for consistency; formatting can adjust the margin if needed. This closes SF bug #133213. | ||||
* | Added missing \item. See also bug 133213, about damaged HTML generated | Tim Peters | 2001-02-20 | 1 | -1/+2 |
| | | | | for \code(">>>"); don't know how to fix that one. | ||||
* | In the example showing the irrelevance of start columns, restore that the | Tim Peters | 2001-02-17 | 1 | -4/+4 |
| | | | | start columns differ (editing had pushed them all into column 0). | ||||
* | Make a variety of minor markup adjustments. | Fred Drake | 2001-02-17 | 1 | -33/+37 |
| | | | | Close some environments so that this will actually format. | ||||
* | SF patch #103808: doctest.py docs | Tim Peters | 2001-02-17 | 1 | -0/+428 |
Checking in Moshe's patch after rewrapping some paragraphs (to consume fewer columns) and repairing that I/2.**J lost the I. |