Commit Graph

846 Commits

Author SHA1 Message Date
Michael Foord 5a9719d627 unittest.TestLoader.loadTestsFromName honors the loader suiteClass attribute. Issue 6866. 2009-09-13 17:28:35 +00:00
Michael Foord c3f79373e8 Objects that compare equal automatically pass or fail assertAlmostEqual and assertNotAlmostEqual tests on unittest.TestCase. Issue 6567. 2009-09-13 16:40:02 +00:00
Georg Brandl d7d4fd7336 builtin -> built-in. 2009-07-26 14:37:28 +00:00
Amaury Forgeot d'Arc d81333c540 Fix a typo spotted by Nick Coghlan. 2009-06-10 20:30:19 +00:00
Amaury Forgeot d'Arc d708c8703e Both kind of types are concerned. 2009-06-09 23:18:50 +00:00
Amaury Forgeot d'Arc 901f200c81 #6201: Fix test_winreg on Windows:
since the introduction of the SETUP_WITH opcode,
__enter__ and __exit__ methods must belong to the type,
and are not retrieved at the instance level (__dict__ or __getattr__).

Add a note in whatsnew about this incompatibility;
old style classes are not affected.
2009-06-09 23:08:13 +00:00
Georg Brandl 0eca77c40c #6174: fix indentation in code example. 2009-06-03 21:21:09 +00:00
Antoine Pitrou 4698d9928e Issue #6152: New option '-j'/'--multiprocess' for regrtest allows running
regression tests in parallel, shortening the total runtime.
2009-05-31 14:20:14 +00:00
Michael Foord 07ef487a96 2009-05-02 22:43:34 +00:00
Michael Foord e2fb98f467 Add addCleanup and doCleanups to unittest.TestCase.
Closes issue 5679.

Michael Foord
2009-05-02 20:15:05 +00:00
Andrew M. Kuchling 92b970037b Add items 2009-05-02 17:12:15 +00:00
Michael Foord 829f6b8052 Adds an exit parameter to unittest.main(). If False main no longer
calls sys.exit.

Closes issue 3379.

Michael Foord
2009-05-02 11:43:06 +00:00
Georg Brandl f6dab9542c Make the doctests in the docs pass, except for those in the turtle module. 2009-04-28 21:48:35 +00:00
Eric Smith 507690c6e5 Take credit for my patch for issue 5237. 2009-04-12 02:57:29 +00:00
Benjamin Peterson aa0a0b9007 fix markup 2009-04-11 20:27:15 +00:00
Georg Brandl 64e1c75455 Take credit for a patch of mine. 2009-04-11 18:19:27 +00:00
Andrew M. Kuchling 2c130b6be7 Add various items 2009-04-11 16:12:23 +00:00
Andrew M. Kuchling 24520b4365 Add items 2009-04-09 11:22:47 +00:00
Andrew M. Kuchling a178a69819 Fix 'the the' duplication 2009-04-03 21:45:29 +00:00
Andrew M. Kuchling 9a4b94ca0c Add some items 2009-04-03 21:43:00 +00:00
Andrew M. Kuchling 7706957f59 Add various items 2009-03-31 01:21:01 +00:00
Andrew M. Kuchling 6c2633e919 Add more items 2009-03-30 23:09:46 +00:00
Andrew M. Kuchling 71d5c28d97 Add several items and placeholders 2009-03-30 22:30:20 +00:00
Andrew M. Kuchling b585255f02 Remove comment 2009-03-30 22:29:53 +00:00
Antoine Pitrou b22b94886d Fix a typo and be more specific 2009-03-28 19:17:54 +00:00
Antoine Pitrou c18f6b023d Publicize the GC untracking optimization 2009-03-28 19:10:13 +00:00
Mark Dickinson efc82f7e8e Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms.
Backport of r70459.
2009-03-20 15:51:55 +00:00
Georg Brandl fbb995f6c2 #5344: fix punctuation. 2009-02-27 16:52:55 +00:00
Georg Brandl 4a698721e6 #5327: fix a broken link by joining it. 2009-02-20 07:48:21 +00:00
Benjamin Peterson a7b55a33f8 revert r69777 since all the experts agree that extra import lines distract from the code 2009-02-20 03:31:23 +00:00
Jeroen Ruigrok van der Werven 5149742e8b Since we recommend one module per import line, reflect this also in the
documentation.
2009-02-19 18:52:21 +00:00
Tarek Ziadé f1c95fe004 note about #2279 2009-02-16 22:38:43 +00:00
Andrew M. Kuchling a17cd4a574 Add a section 2009-01-31 02:50:09 +00:00
Andrew M. Kuchling 466bd9d3af Add various items 2009-01-24 03:28:18 +00:00
Andrew M. Kuchling 9cb4277c60 Add some items 2009-01-21 02:15:43 +00:00
Benjamin Peterson 590c66810f fix encoding 2009-01-10 19:08:49 +00:00
Kristján Valur Jónsson 0e2d8c36e3 Issue 4293: Make Py_AddPendingCall() thread safe
Add test cases and documentation
2009-01-09 21:35:16 +00:00
Benjamin Peterson cebb25d1f4 fix markup 2009-01-09 02:56:32 +00:00
Tarek Ziadé 1a240fb9f0 fixed #4394 make the storage of the password optional in .pypirc 2009-01-08 23:56:31 +00:00
Benjamin Peterson 35b345484d string exceptions are gone 2009-01-08 03:39:46 +00:00
Georg Brandl 7044b11818 Remove tabs from the documentation. 2009-01-03 21:04:55 +00:00
Georg Brandl c62ef8b4d9 Remove trailing whitespace. 2009-01-03 20:55:06 +00:00
Andrew M. Kuchling 10b1ec98df Add various items 2009-01-02 21:00:35 +00:00
Georg Brandl fc29f27c16 #4811: fix markup glitches (mostly remains of the conversion),
found by Gabriel Genellina.
2009-01-02 20:25:14 +00:00
Mark Dickinson 1a707981c8 Issue #3439: add bit_length method to int and long.
Thanks Fredrik Johansson and Victor Stinner for code,
Raymond Hettinger for review.
2008-12-17 16:14:37 +00:00
Benjamin Peterson 9f35070a6b fix incorrect example 2008-12-13 04:02:20 +00:00
Georg Brandl eaede315d1 Add more TOC to the whatsnew index page. 2008-10-16 20:20:56 +00:00
Andrew M. Kuchling e529165ee3 Fix wording (2.6.1 backport candidate) 2008-10-16 20:15:47 +00:00
Benjamin Peterson fc72de7bca quiet sphinx warnings 2008-10-08 21:11:33 +00:00
Georg Brandl 151f42fe12 Make all whatsnew docs accessible. 2008-10-08 18:57:13 +00:00