Commit Graph

189 Commits

Author SHA1 Message Date
Gregory P. Smith 5a6d4bf671 Fixes Issue #20165: The unittest module no longer considers tests marked with
@expectedFailure successful if they pass.
2014-01-20 01:11:18 -08:00
R David Murray 42fa110035 whatsnew: unittest import time SkipTest reported as skip not error. 2014-01-03 13:03:36 -05:00
R David Murray 6e731b0a41 Merge and update #17282: Document unittest.main defaultTest argument.
In 3.4 defaultTest can also be a list (see issue 15132).
2014-01-02 13:43:02 -05:00
R David Murray 12e930f3a4 #17282: Document unittest.main defaultTest argument. 2014-01-02 13:37:26 -05:00
Michael Foord 4d1639f4e5 Closes issue 20031. Document unittest.TextTestRunner.run method. 2013-12-29 23:38:55 +00:00
Georg Brandl ed007d5b1b Fix suspicious markup in the docs. 2013-11-24 16:09:26 +01:00
Antoine Pitrou 7c89ae206e Address Terry's comments 2013-09-15 02:01:39 +02:00
Antoine Pitrou 0715b9fad3 Issue #18937: Add an assertLogs() context manager to unittest.TestCase to ensure that a block of code emits a message using the logging module. 2013-09-14 19:45:47 +02:00
Ezio Melotti 92ed89081e #18951: merge with 3.3. 2013-09-13 22:18:02 +03:00
Ezio Melotti 560a77881b #18951: use consistent names in unittest docs. 2013-09-13 22:17:40 +03:00
Ezio Melotti 84eadd8651 #18895: merge with 3.3. 2013-09-07 15:24:01 +03:00
Ezio Melotti e64a91a890 #18895: split a sentence in unittest docs. 2013-09-07 15:23:36 +03:00
Ezio Melotti 0cd94428ad #18894: merge with 3.3. 2013-09-07 15:20:03 +03:00
Ezio Melotti e2202365ed #18894: remove mention of deprecated fail* methods. 2013-09-07 15:19:30 +03:00
Andrew Svetlov eb97368451 Issue #11798: TestSuite now drops references to own tests after execution. 2013-08-28 21:28:38 +03:00
Ezio Melotti b2855ccd09 #18663: merge with 3.3. 2013-08-11 13:05:37 +03:00
Ezio Melotti d51914c6c1 #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 92e2a220ef Merge with 3.3 2013-07-30 22:31:30 -04:00
Terry Jan Reedy 778cba7f29 Issue #18573: More copy-paste fixes to assertWarns entry. 2013-07-30 22:31:06 -04:00
Terry Jan Reedy 937b50c378 Merge with 3.3 2013-07-27 16:15:51 -04:00
Terry Jan Reedy 9eda66da78 Issue #18573: Complete copy-paste from assertRaises entry to assertWarns entry. 2013-07-27 16:15:29 -04:00
Terry Jan Reedy b7bb6f571b Merge with 3.3 2013-06-29 13:16:17 -04:00
Terry Jan Reedy c4565a9524 Issue #18237: Fix assertRaisesRegexp error caought by Jeff Tratner. 2013-06-29 13:15:43 -04:00
Ezio Melotti 7168879eb2 #17871: merge with 3.3. 2013-05-07 09:47:08 +03:00
Ezio Melotti 9c939bceeb #17871: fix unittest.TextTestRunner signature in the docs. Patch by Yogesh Chaudhari. 2013-05-07 09:46:30 +03:00
Ezio Melotti 67ddccafc3 #17329: merge with 3.3. 2013-03-27 20:13:59 +02:00
Ezio Melotti 184e59357e #17329: merge with 3.2. 2013-03-27 20:12:55 +02:00
Ezio Melotti 265281ac02 #17329: document unittest.SkipTest. Initial patch by Zachary Ware. 2013-03-27 20:11:55 +02:00
Antoine Pitrou c9b3ef2df0 Issue #16997: unittest.TestCase now provides a subTest() context manager to procedurally generate, in an easy way, small test instances. 2013-03-20 20:16:47 +01:00
Michael Foord 80cbc9e998 Closes issue 16709. unittest test discovery sorts test files for consistent test ordering 2013-03-18 17:50:12 -07:00
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