Ezio Melotti
bf0428ebed
Merge markup fixes in unittest doc from 3.3.
2013-03-01 21:28:23 +02:00
Ezio Melotti
aba4581ce3
Merge markup fixes in unittest doc from 3.2.
2013-03-01 21:28:06 +02:00
Ezio Melotti
fed69ba63c
Fix markup in unittest doc.
2013-03-01 21:26:04 +02:00
Ezio Melotti
eae2b38948
#16935 : unittest now counts the module as skipped if it raises SkipTest, instead of counting it as an error. Patch by Zachary Ware.
2013-03-01 14:47:50 +02:00
Ezio Melotti
26db85b30e
Merge markup fixes in unittest docs from 3.3.
2013-02-28 08:31:32 +02:00
Ezio Melotti
df2460564d
Merge markup fixes in unittest docs from 3.2.
2013-02-28 08:29:37 +02:00
Ezio Melotti
4d6cb0fcf9
Fix markup in unittest docs.
2013-02-28 08:28:11 +02:00
Chris Jerdonek
ccbc26a24c
Add a "Changed in version" to the docs for issue #15132 .
2013-02-23 15:44:46 -08:00
Chris Jerdonek
8c0bbfd101
Issue #17203 : add long option names to unittest discovery docs.
2013-02-21 19:00:06 -08:00
Chris Jerdonek
d69ad55220
Issue #17203 : add long option names to unittest discovery docs.
2013-02-21 18:54:43 -08:00
Antoine Pitrou
2c5e9504d8
Remove cruft and circumvolutions from the unittest docs.
...
(I would have preferred to post this for review but the bug tracker is pretty much dead at the moment)
2013-01-20 01:29:39 +01:00
Senthil Kumaran
0b3014dda0
merge from 3.2
2012-10-27 11:05:32 -07:00
Senthil Kumaran
847c33cc3b
Include mention of jenkins as an example framework for doing CI
2012-10-27 11:04:55 -07:00
Ezio Melotti
75883ad45a
Add missing comma.
2012-08-29 17:52:06 +03:00
Ezio Melotti
49ccd514d2
Add missing comma.
2012-08-29 17:50:42 +03:00
Ezio Melotti
cfc104ee76
#14558 : merge with 3.2.
2012-04-30 19:11:11 +03:00
Ezio Melotti
3d6d7a5e15
#14558 : document the module, argv, and testLoader args of unittest.main.
2012-04-30 19:10:28 +03:00
Ezio Melotti
5fbd37e57a
Merge markup fix in unittest doc from 3.2.
2012-04-29 10:53:31 +03:00
Ezio Melotti
b8e336b974
Fix markup in unittest doc.
2012-04-29 10:52:18 +03:00
Sandro Tosi
4cc229ad65
merge with 3.2
2012-03-31 18:35:16 +02:00
Sandro Tosi
317075de29
use unittest.skip; thanks to Chang Min Jeon from docs@
2012-03-31 18:34:59 +02:00
Raymond Hettinger
13ec112b3a
Issue #13248 : Removed docs for two deprecated unittest features. To be conservative, the code is left in for one more release.
2012-03-14 18:16:18 -07:00
Sandro Tosi
a2a9071754
merge with 3.2
2012-01-21 11:00:03 +01:00
Sandro Tosi
41b2404dab
fix typo; thanks to Justin Watt from docs@
2012-01-21 10:59:37 +01:00
Ezio Melotti
37c7a065ce
#13695 : merge with 3.2.
2012-01-16 08:29:42 +02:00
Ezio Melotti
9ecb6beb8c
#13695 : fix a couple of typos in the doc.
2012-01-16 08:28:54 +02:00
Ezio Melotti
80a61e8d4c
#13387 : rephrase unclear sentence.
2011-12-19 07:04:48 +02:00
Ezio Melotti
5ce6f8ed5c
#13387 : merge with 3.2.
2011-12-19 07:07:00 +02:00
Ezio Melotti
2251a3d233
#13387 : merge with 3.2.
2011-11-18 19:01:01 +02:00
Ezio Melotti
fabf0275a9
#13387 : add note about checking the exact type in assertIsInstance doc.
2011-11-18 18:59:36 +02:00
Éric Araujo
b8edbdf4b9
Merge doc changes from 3.2.
...
rstlint complains about packaging docs but I’m working on those in
another patch.
2011-09-01 05:57:12 +02:00
Éric Araujo
ec9a5f6399
Add version number for versionchanged directive (backport from 3.3)
2011-09-01 05:55:26 +02:00
Éric Araujo
941afedd74
Avoid using the default reST role. Makes Doc/tools/rstlint.py happy.
2011-09-01 02:47:34 +02:00
Ezio Melotti
b4dc2502ad
Issue #10775 : assertRaises, assertRaisesRegex, assertWarns, and assertWarnsRegex now accept a keyword argument 'msg' when used as context managers. Initial patch by Winston Ewert.
2011-05-06 15:01:41 +03:00
Ezio Melotti
b7af620747
#11282 : merge with 3.2.
2011-04-03 17:39:19 +03:00
Ezio Melotti
361467e522
#11282 : the fail* methods will stay around a few more versions.
2011-04-03 17:37:58 +03:00
Ezio Melotti
40dcb1d287
Port a couple of changes from 3.1.
2011-03-10 13:46:50 +02:00
Ezio Melotti
2d1e88a4d1
Backport from 3.2 several improvements and fixes for unittest.rst.
2011-03-10 12:16:35 +02:00
Ezio Melotti
3d995843ce
#11298 : Improve the unittest discovery explanation.
2011-03-08 16:17:35 +02:00
Michael Foord
1341bb0019
Closes issue 11407. TestCase.run returns the result object used or created
2011-03-14 19:01:46 -04:00
Raymond Hettinger
833ad0eede
Fix awkwardly rendered sentence.
2011-02-06 21:00:38 +00:00
Michael Foord
e180d3953f
Issue 10573: revert unittest docs to first / second
...
Minor internal change to unittest.TestCase.assertCountEqual
Reviewed by R. David Murray
2011-01-28 19:51:48 +00:00
Michael Foord
32e1d8340c
Enable unittest.TestCase to be instantiated without providing a method name.
...
Changed unittestgui to show number of discovered tests in the status bar.
2011-01-03 17:00:11 +00:00
Michael Foord
90efac7f37
Issue 10502: addition of unittestgui to Tools/
2011-01-03 15:39:49 +00:00
Michael Foord
d218e956d2
Issue 10786: unittest documentation update.
2011-01-03 12:55:11 +00:00
Raymond Hettinger
57bd00a15b
Adopt symmetric names for arguments (actual/expected --> first/second).
2010-12-24 21:51:48 +00:00
Raymond Hettinger
6518f5e780
Fix docs and comment for r87454.
2010-12-24 00:52:54 +00:00
Raymond Hettinger
8ebe27f300
Deprecate assertDictContainsSubset()
2010-12-21 19:24:26 +00:00
Ezio Melotti
addc6f5a21
#10573 : use actual/expected consistently in unittest methods. The order of the args of assertCountEqual is also changed.
2010-12-18 20:00:04 +00:00
Éric Araujo
3efdf0630b
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:16:29 +00:00