summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.rst
Commit message (Collapse)AuthorAgeFilesLines
* Issue #22153: Improve unittest docs. Patch from Martin Panter and evilzero.Robert Collins2015-07-221-4/+8
|\
| * Issue #22153: Improve unittest docs. Patch from Martin Panter and evilzero.Robert Collins2015-07-221-4/+8
| |
* | Merge: #24584: replace dead link with pointer to archive.org.R David Murray2015-07-041-1/+1
|\ \ | |/
| * #24584: replace dead link with pointer to archive.org.R David Murray2015-07-041-1/+1
| |
* | #11468: merge with 3.4.Ezio Melotti2015-03-241-37/+28
|\ \ | |/
| * #11468: improve unittest basic example. Initial patch by Florian Preinstorfer.Ezio Melotti2015-03-241-37/+28
| |
* | Issue #22936: Allow showing local variables in unittest errors.Robert Collins2015-03-061-6/+19
| |
* | Issue #23125: Update nose project page link.Berker Peksag2014-12-281-1/+1
|\ \ | |/ | | | | Reported by Damien Marié.
| * Issue #23125: Update nose project page link.Berker Peksag2014-12-281-1/+1
| | | | | | | | Reported by Damien Marié.
* | Close #22457: Honour load_tests in the start_dir of discovery.Robert Collins2014-11-041-1/+5
| | | | | | | | | | | | We were not honouring load_tests in a package/__init__.py when that was the start_dir parameter, though we do when it is a child package. The fix required a little care since it introduces the possibility of infinite recursion.
* | Close #7559: ImportError when loading a test now shown as ImportError.Robert Collins2014-10-291-0/+6
| | | | | | | | | | | | | | Previously the ImportError was only shown if the top level containing package failed to import, with other ImportErrors showing up as AttributeError - hiding the real cause. As part of this, `TestLoader.loadTestsFromNames` now captures errors to self.errors.
* | merge with 3.4Georg Brandl2014-10-291-1/+1
|\ \ | |/
| * Fixing broken links in doc, part 3: the restGeorg Brandl2014-10-291-1/+1
| |
* | Merge with 3.4Georg Brandl2014-10-291-1/+1
|\ \ | |/
| * Use https:// URLs when referring to python.org hosts.Georg Brandl2014-10-291-1/+1
| |
| * Closes #18729: minor markup improvement.Georg Brandl2014-10-021-1/+1
| |
* | Close #19746: expose unittest discovery errors on TestLoader.errorsRobert Collins2014-10-201-0/+14
| | | | | | | | | | | | This makes it possible to examine the errors from unittest discovery without executing the test suite - important when the test suite may be very large, or when enumerating the test ids from a test suite.
* | - Issue #16662: load_tests() is now unconditionally run when it is present inBarry Warsaw2014-09-081-28/+39
|/ | | | | | | a package's __init__.py. TestLoader.loadTestsFromModule() still accepts use_load_tests, but it is deprecated and ignored. A new keyword-only attribute `pattern` is added and documented. Patch given by Robert Collins, tweaked by Barry Warsaw.
* #18566: WhitespaceTerry Jan Reedy2014-04-161-5/+5
|
* Issue #18566: Clarify unittest setUp, tearDown doc. Patch by Nitika Agarwal.Terry Jan Reedy2014-04-161-7/+7
|
* Issue #21170: Removed invalid parameter names from unittest doc.Terry Jan Reedy2014-04-111-2/+2
| | | | Patch by Kushal Das.
* Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-161-14/+17
|
* Python 3.4.0rc1 release: Updated pydoc topics, fixed suspicious markup errors.Larry Hastings2014-02-101-7/+7
|
* merge from 3.3Senthil Kumaran2014-02-081-7/+8
|\ | | | | | | | | Include the mention of ResourceWarning being displayed by default by the test runner. Addressing #issue 20529
| * Include the mention of ResourceWarning being displayed by default by the ↵Senthil Kumaran2014-02-081-7/+8
| | | | | | | | | | | | test runner. Addressing #issue 20529
* | Fixes Issue #20165: The unittest module no longer considers tests marked withGregory P. Smith2014-01-201-0/+4
| | | | | | | | @expectedFailure successful if they pass.
* | whatsnew: unittest import time SkipTest reported as skip not error.R David Murray2014-01-031-2/+3
| |
* | Merge and update #17282: Document unittest.main defaultTest argument.R David Murray2014-01-021-0/+5
|\ \ | |/ | | | | In 3.4 defaultTest can also be a list (see issue 15132).
| * #17282: Document unittest.main defaultTest argument.R David Murray2014-01-021-0/+4
| |
* | Closes issue 20031. Document unittest.TextTestRunner.run method.Michael Foord2013-12-291-0/+8
| |
* | Fix suspicious markup in the docs.Georg Brandl2013-11-241-2/+2
| |
* | Address Terry's commentsAntoine Pitrou2013-09-151-2/+5
| |
* | Issue #18937: Add an assertLogs() context manager to unittest.TestCase to ↵Antoine Pitrou2013-09-141-0/+41
| | | | | | | | ensure that a block of code emits a message using the logging module.
* | #18951: merge with 3.3.Ezio Melotti2013-09-131-6/+6
|\ \ | |/
| * #18951: use consistent names in unittest docs.Ezio Melotti2013-09-131-6/+6
| |
* | #18895: merge with 3.3.Ezio Melotti2013-09-071-1/+1
|\ \ | |/
| * #18895: split a sentence in unittest docs.Ezio Melotti2013-09-071-1/+1
| |
* | #18894: merge with 3.3.Ezio Melotti2013-09-071-2/+1
|\ \ | |/
| * #18894: remove mention of deprecated fail* methods.Ezio Melotti2013-09-071-2/+1
| |
* | Issue #11798: TestSuite now drops references to own tests after execution.Andrew Svetlov2013-08-281-3/+12
| |
* | #18663: merge with 3.3.Ezio Melotti2013-08-111-1/+1
|\ \ | |/
| * #18663: document that assertAlmostEqual also works when the values are equal ↵Ezio Melotti2013-08-111-1/+1
| | | | | | | | and add tests.
* | Merge with 3.3Terry Jan Reedy2013-07-311-3/+3
|\ \ | |/
| * Issue #18573: More copy-paste fixes to assertWarns entry.Terry Jan Reedy2013-07-311-3/+3
| |
* | Merge with 3.3Terry Jan Reedy2013-07-271-1/+1
|\ \ | |/
| * Issue #18573: Complete copy-paste from assertRaises entry to assertWarns entry.Terry Jan Reedy2013-07-271-1/+1
| |
* | Merge with 3.3Terry Jan Reedy2013-06-291-1/+1
|\ \ | |/
| * Issue #18237: Fix assertRaisesRegexp error caought by Jeff Tratner.Terry Jan Reedy2013-06-291-1/+1
| |
* | #17871: merge with 3.3.Ezio Melotti2013-05-071-1/+2
|\ \ | |/
| * #17871: fix unittest.TextTestRunner signature in the docs. Patch by Yogesh ↵Ezio Melotti2013-05-071-1/+2
| | | | | | | | Chaudhari.