Aditya Hase
0666d0e504
bpo-30304: Improve TestCase.assertMultiLineEqual docs (GH-2847)
...
Mention that TestCase.assertMultiLineEqual method is used by default when comparing Unicode string when comparing Unicode strings with assertEqual.
2017-07-25 13:59:52 -07:00
Martin Panter
1b31d284e1
Issue #29274 : tests cases → test cases
2017-01-18 12:14:29 +00:00
Serhiy Storchaka
ad13f338ce
Issue #19795 : Mark up None as literal text.
2016-10-19 16:29:10 +03:00
Serhiy Storchaka
12d547a80d
Issue #23921 : Standardized documentation whitespace formatting.
...
Original patch by James Edwards.
2016-05-10 13:45:32 +03:00
Ezio Melotti
6066257c38
#25687 : clarify that errors in tearDown increase the total number of reported errors. Initial patch by HyeSoo Park.
2016-03-13 09:40:09 +02:00
Senthil Kumaran
1826f6369c
Issue26097 - Fix the TextTestRunner documentation, mention all the arguments of the class.
...
Patch contributed by Nicolas Évrard.
2016-01-14 21:57:57 -08:00
Ezio Melotti
7f62062be1
#19006 : fix wording in unittest docs.
2016-01-12 11:03:10 +02:00
Benjamin Peterson
c6fa90c7ca
fix typo in unittest docs ( closes #26046 )
...
Patch from Upendra Kumar.
2016-01-07 22:01:26 -08:00
Serhiy Storchaka
c72e66a048
Issue #25523 : Backported a-to-an corrections.
2015-11-02 15:06:09 +02:00
Serhiy Storchaka
9b2e37f688
Marked keystrokes with the :kbd: role.
...
Fixed the case of the "Ctrl-" prefixes.
2015-09-12 17:47:12 +03:00
Robert Collins
11ac1a8239
Issue #22812 : Fix unittest discovery examples.
...
Patch from Pam McA'Nulty.
2015-08-24 12:06:18 +12:00
R David Murray
3995421228
#24548 : replace dead link with pointer to archive.org.
2015-07-04 15:50:30 -04:00
Ezio Melotti
bc1fda39ae
#11468 : improve unittest basic example. Initial patch by Florian Preinstorfer.
2015-03-24 12:42:41 +02:00
Berker Peksag
87d415fa5c
Issue #23125 : Update nose project page link.
...
Reported by Damien Marié.
2014-12-28 18:51:25 +02:00
Georg Brandl
06f3b3b98c
Use https:// URLs when referring to python.org hosts.
2014-10-29 08:36:35 +01:00
Terry Jan Reedy
0d1e44b61e
#18566 : Whitespace
2014-04-15 23:44:10 -04:00
Terry Jan Reedy
e804efa6bb
Issue #18566 : Clarify unittest setUp, tearDown doc. Patch by Nitika Agarwal.
2014-04-15 23:38:11 -04:00
Terry Jan Reedy
94fb85e765
Issue #21170 : Removed invalid parameter names from unittest doc.
...
Patch by Kushal Das.
2014-04-11 14:11:00 -04:00
R David Murray
8de21188ae
#20030 : doc that TestLoader.discover returns a TestSuite.
...
Patch by Lita Cho.
2014-03-11 18:12:25 -04:00
R David Murray
5851218e42
#17282 : Document unittest.main defaultTest argument.
2014-01-02 13:38:02 -05:00
Georg Brandl
f0f0843df3
Fix deprecated link to Python Testing Tools Taxonomy. Reported by Daniel Greenfeld on docs@.
2013-10-06 11:10:49 +02:00
Ezio Melotti
36c3368233
#18951 : use consistent names in unittest docs.
2013-09-13 22:17:40 +03:00
Ezio Melotti
ad54307b9b
#18895 : split a sentence in unittest docs.
2013-09-07 15:23:36 +03:00
Ezio Melotti
2676583b66
#18894 : remove mention of deprecated fail* methods.
2013-09-07 15:19:30 +03:00
Ezio Melotti
d599142197
#18663 : document that assertAlmostEqual also works when the values are equal and add tests.
2013-08-11 13:04:50 +03:00
Terry Jan Reedy
8d7500387d
Issue #18237 : Fix assertRaisesRegexp error caought by Jeff Tratner.
2013-06-29 13:15:36 -04:00
Ezio Melotti
183dc46a88
#17866 : mention that in Python 3, assertItemsEqual is named assertCountEqual.
2013-04-29 12:26:01 +03:00
Ezio Melotti
352def0ed2
#17329 : document unittest.SkipTest. Initial patch by Zachary Ware.
2013-03-27 20:11:55 +02:00
Ezio Melotti
ff0deb0529
Fix markup in unittest doc.
2013-03-01 21:26:04 +02:00
Ezio Melotti
79b2dbaf3f
Fix markup in unittest docs.
2013-02-28 08:28:11 +02:00
Chris Jerdonek
13cee1696f
Issue #17203 : add long option names to unittest discovery docs.
2013-02-21 18:52:12 -08:00
Ezio Melotti
6bb9c73b06
Add missing comma.
2012-08-29 17:50:42 +03:00
Ezio Melotti
30abb3a6a8
#14558 : document the module, argv, and testLoader args of unittest.main.
2012-04-30 19:05:57 +03:00
Ezio Melotti
217e6a66db
Fix markup in unittest doc.
2012-04-29 10:52:18 +03:00
Sandro Tosi
6ca845c66a
use unittest.skip; thanks to Chang Min Jeon from docs@
2012-03-31 18:34:42 +02:00
Sandro Tosi
2d71e5c6b9
fix typo; thanks to Justin Watt from docs@
2012-01-21 10:59:12 +01:00
Ezio Melotti
055d70d588
#13695 : fix a couple of typos in the doc.
2012-01-16 08:21:24 +02:00
Ezio Melotti
080b6f071f
#13387 : rephrase unclear sentence.
2011-12-19 07:04:48 +02:00
Ezio Melotti
aa512f05a4
#13387 : add note about checking the exact type in assertIsInstance doc.
2011-11-18 18:59:36 +02:00
Éric Araujo
a7cbe28bcc
Avoid using the default reST role. Makes Doc/tools/rstlint.py happy.
2011-09-01 19:49:31 +02:00
Ezio Melotti
c3ab30b363
Fix typo.
2011-03-12 22:21:37 +02:00
Ezio Melotti
3cbb66b0d9
Use simpler assert in basic example.
2011-03-10 23:35:39 +02:00
Ezio Melotti
dd7c593c1f
Backport from 3.x several improvements and fixes for unittest.rst.
2011-03-10 23:00:48 +02:00
Ezio Melotti
9e1ed47e91
#11298 : Improve the unittest discovery explanation.
2011-03-08 17:08:25 +02:00
Georg Brandl
52f839540c
Merged revisions 86881,86887,86913-86915,86933,86943,86960,86964,86974,86980,86996,87008 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86881 | georg.brandl | 2010-11-30 08:43:28 +0100 (Di, 30 Nov 2010) | 1 line
#10584 : fix bad links.
........
r86887 | georg.brandl | 2010-11-30 15:57:54 +0100 (Di, 30 Nov 2010) | 1 line
Fix typo.
........
r86913 | georg.brandl | 2010-12-01 16:32:43 +0100 (Mi, 01 Dez 2010) | 1 line
Add missing word, and add a better reference to the actual function.
........
r86914 | georg.brandl | 2010-12-01 16:36:33 +0100 (Mi, 01 Dez 2010) | 1 line
#10594 : fix parameter names in PyList API docs.
........
r86915 | georg.brandl | 2010-12-01 16:44:25 +0100 (Mi, 01 Dez 2010) | 1 line
Fix some markup and style in the unittest docs.
........
r86933 | georg.brandl | 2010-12-02 19:02:01 +0100 (Do, 02 Dez 2010) | 1 line
#10597 : fix Py_SetPythonHome docs by pointing to where the meaning of PYTHONHOME is already documented.
........
r86943 | georg.brandl | 2010-12-02 23:35:25 +0100 (Do, 02 Dez 2010) | 1 line
Re-add accidentally removed line.
........
r86960 | georg.brandl | 2010-12-03 08:55:44 +0100 (Fr, 03 Dez 2010) | 1 line
#10360 : catch TypeError in WeakSet.__contains__, just like WeakKeyDictionary does.
........
r86964 | georg.brandl | 2010-12-03 10:58:38 +0100 (Fr, 03 Dez 2010) | 1 line
#10549 : fix interface of docclass() for text documenter.
........
r86974 | georg.brandl | 2010-12-03 16:30:09 +0100 (Fr, 03 Dez 2010) | 1 line
Markup consistency fixes.
........
r86980 | georg.brandl | 2010-12-03 18:19:27 +0100 (Fr, 03 Dez 2010) | 1 line
Fix punctuation.
........
r86996 | georg.brandl | 2010-12-03 20:56:42 +0100 (Fr, 03 Dez 2010) | 1 line
Fix indentation.
........
r87008 | georg.brandl | 2010-12-04 10:04:04 +0100 (Sa, 04 Dez 2010) | 1 line
Fix typo.
........
2011-02-25 10:39:23 +00:00
Éric Araujo
a8132ec27e
Merged revisions 86521,86632,86823-86824,87294,87296,87300,87302 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86521 | eric.araujo | 2010-11-18 17:38:46 +0100 (jeu., 18 nov. 2010) | 17 lines
Fix usage of :option: in the docs (#9312 ).
:option: is used to create a link to an option of python, not to mark
up any instance of any arbitrary command-line option. These were
changed to ````.
For modules which do have a command-line interface, lists of options
have been properly marked up with the program/cmdoption directives
combo. Options defined in such blocks can be linked to with :option:
later in the same file, they won’t link to an option of python.
Finally, the markup of command-line fragments in optparse.rst has
been cleaned to use ``x`` instead of ``"x"``, keeping that latter
form for actual Python strings.
Patch by Eli Bendersky and Éric Araujo.
........
r86632 | eric.araujo | 2010-11-21 04:09:17 +0100 (dim., 21 nov. 2010) | 2 lines
Style edits in followup to r86521 (#9312 )
........
r86823 | eric.araujo | 2010-11-27 00:31:07 +0100 (sam., 27 nov. 2010) | 2 lines
Use link-generating markup (see #9312 )
........
r86824 | eric.araujo | 2010-11-27 00:46:18 +0100 (sam., 27 nov. 2010) | 2 lines
Rewrap long lines + minor edits
........
r87294 | eric.araujo | 2010-12-16 01:07:01 +0100 (jeu., 16 déc. 2010) | 2 lines
No need to generate a link for something that’s just above.
........
r87296 | eric.araujo | 2010-12-16 01:23:30 +0100 (jeu., 16 déc. 2010) | 2 lines
Advertise “python -m” instead of direct filename.
........
r87300 | eric.araujo | 2010-12-16 02:40:26 +0100 (jeu., 16 déc. 2010) | 2 lines
Advertise “python -m test” over test.regrtest (r87296 followup)
........
r87302 | eric.araujo | 2010-12-16 03:10:11 +0100 (jeu., 16 déc. 2010) | 2 lines
Add versionadded directive missing from r78983.
........
2010-12-16 03:53:53 +00:00
Georg Brandl
0930228aee
Merged revisions 84945 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84945 | georg.brandl | 2010-09-21 16:48:28 +0200 (Di, 21 Sep 2010) | 1 line
#9911 : doc copyedits.
........
2010-10-06 09:32:48 +00:00
Michael Foord
8dde20168a
Documentation updates for issues 8302 and 8351 (truncating excessive diffs in unittest failure messages and reporting SkipTest exceptions in setUpClass and setUpModule as skips rather than errors).
2010-06-05 21:57:03 +00:00
Stefan Krah
4a769059be
Fix typo.
2010-05-19 15:59:40 +00:00
Georg Brandl
6f635f41f2
Consolidate deprecation messages.
2010-05-10 21:50:57 +00:00