summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
Commit message (Collapse)AuthorAgeFilesLines
...
* | unittest.mock.MagicMock objects are now unorderable by defaultMichael Foord2012-03-252-9/+26
| |
* | Removed XXX from unittest.mock docstring and switch to a nicer ↵Michael Foord2012-03-141-24/+19
| | | | | | | | try...except...finally
* | Remove more Python 2 compatibility cruft from unittest.mockMichael Foord2012-03-142-25/+6
| |
* | Remove Python 2 compatibility cruft from unittest.mockMichael Foord2012-03-141-5/+3
| |
* | And another one... mock import fix.Michael Foord2012-03-141-2/+2
| |
* | Fix another mock importMichael Foord2012-03-141-1/+1
| |
* | Fix import failure in mock testMichael Foord2012-03-141-1/+1
| |
* | PEP 417: Adding unittest.mockMichael Foord2012-03-1411-0/+6682
| |
* | MergeMichael Foord2012-03-131-4/+9
|\ \ | |/
| * Fix unittest test discovery for JythonMichael Foord2012-03-131-4/+9
| |
* | Move adding unittest test discovery command line options into their own method.Michael Foord2012-03-121-5/+7
| |
* | Refactor unittest command line handling to always use optparseMichael Foord2012-03-122-59/+32
| |
* | merge from 3.2 testFnNames is assigned twice.Senthil Kumaran2011-11-241-2/+1
|\ \ | |/
| * testFnNames is assigned twice.Senthil Kumaran2011-11-241-2/+1
| |
* | Drop unused import in unittest package.Florent Xicluna2011-11-044-5/+1
| |
* | Merge 3.2Florent Xicluna2011-10-282-3/+3
|\ \ | |/
| * Closes #13258: Use callable() built-in in the standard library.Florent Xicluna2011-10-282-3/+3
| |
* | #13012: use splitlines(keepends=True/False) instead of splitlines(0/1).Ezio Melotti2011-09-281-2/+2
| |
* | test that TestCase doesn't get cyclesBenjamin Peterson2011-07-141-0/+9
| |
* | merge 3.2 (#12544)Benjamin Peterson2011-07-131-22/+3
|\ \ | |/
| * this can be done without a custom dict (also fixes #12544)Benjamin Peterson2011-07-131-22/+3
| |
* | Issue #10775: assertRaises, assertRaisesRegex, assertWarns, and ↵Ezio Melotti2011-05-062-33/+120
| | | | | | | | assertWarnsRegex now accept a keyword argument 'msg' when used as context managers. Initial patch by Winston Ewert.
* | #11763: merge with 3.2.Ezio Melotti2011-04-272-0/+44
|\ \ | |/
| * #11763: merge with 3.1.Ezio Melotti2011-04-272-0/+44
| |
* | #11282: add back the fail* methods and assertDictContainsSubset.Ezio Melotti2011-04-035-9/+111
| |
* | #11282: merge with 3.2.Ezio Melotti2011-04-032-6/+3
|\ \ | |/
| * #11282: the fail* methods will stay around a few more versions.Ezio Melotti2011-04-032-6/+3
| |
* | Merge with 3.2.Ezio Melotti2011-03-201-1/+1
|\ \ | |/
| * Save a copy of sys.warnoptions in test_program.Ezio Melotti2011-03-201-1/+1
| |
* | Issue #3080: Use repr() to format the module name on errorVictor Stinner2011-03-141-2/+2
| |
* | Closes issue 10979. unittest buffering now works with class and module setup ↵Michael Foord2011-03-173-2/+91
|\ \ | |/ | | | | and teardown
| * Issue #10979. unittest stdout buffering now works with class and module ↵Michael Foord2011-03-173-2/+91
| | | | | | | | setup and teardown.
* | Closes issue 11407. TestCase.run returns the result object used or createdMichael Foord2011-03-142-5/+40
| |
* | Remove unittest methods scheduled for removal in 3.3 -- makes the unittest ↵Georg Brandl2011-02-205-152/+9
|/ | | | test suite pass again.
* Issue 10573: revert unittest docs to first / secondMichael Foord2011-01-281-6/+6
| | | | | Minor internal change to unittest.TestCase.assertCountEqual Reviewed by R. David Murray
* fix test_unittest: ignore DeprecationWarning on assertDictContainsSubset()Victor Stinner2011-01-032-24/+30
|
* Enable unittest.TestCase to be instantiated without providing a method name.Michael Foord2011-01-032-3/+18
| | | | Changed unittestgui to show number of discovered tests in the status bar.
* Issue 10786: unittest.TextTestRunner default stream no longer bound at ↵Michael Foord2010-12-302-1/+20
| | | | import time
* Adopt symmetric names for arguments (actual/expected --> first/second).Raymond Hettinger2010-12-241-10/+10
|
* Keep helper functions private.Raymond Hettinger2010-12-241-2/+2
|
* Put diff output in useful order (when the elements were first seen).Raymond Hettinger2010-12-242-11/+13
|
* Add direct tests for the util functions.Raymond Hettinger2010-12-241-1/+13
|
* Improve diff for assertCountEqual() to actually show the differing counts.Raymond Hettinger2010-12-243-22/+72
| | | | | | | | | | | | | | | | | | New output looks like this: Traceback (most recent call last): File "test.py", line 5, in test_ce self.assertCountEqual('abracadabra xx', 'simsalabim xx') AssertionError: Element counts were not equal: Expected 5, got 2: 'a' Expected 2, got 1: 'b' Expected 0, got 2: 'i' Expected 0, got 2: 'm' Expected 0, got 1: 'l' Expected 0, got 2: 's' Expected 1, got 0: 'c' Expected 1, got 0: 'd' Expected 2, got 0: 'r'
* Fix docstring.Raymond Hettinger2010-12-241-3/+3
|
* Fix docs and comment for r87454.Raymond Hettinger2010-12-241-1/+1
|
* Add test for r87454.Raymond Hettinger2010-12-241-0/+3
|
* Fix buglet. If the input was an iterator, the fallback would occur afterRaymond Hettinger2010-12-231-8/+7
| | | | | part of the iterator had been consumed. Also, fix argument names which did not match the docs and were a bit misleading.
* Deprecate assertDictContainsSubset()Raymond Hettinger2010-12-212-1/+4
|
* Improvement to fix for issue 9926 to allow TestResult to be reused.Michael Foord2010-12-192-1/+7
|
* Fix minor issue in implementation of issue 10470.Michael Foord2010-12-193-30/+54
|