Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Typo correction. | Michael Foord | 2010-06-09 | 1 | -1/+1 |
| | |||||
* | Issue 8948. cleanup functions are not run by unittest.TestCase.debug(), plus ↵ | Michael Foord | 2010-06-08 | 1 | -0/+3 |
| | | | | class and module teardowns are not run by unittest.TestSuite.debug(). | ||||
* | Code formatting change. | Michael Foord | 2010-06-05 | 1 | -0/+1 |
| | |||||
* | Fix unittest tests after previous commit. | Michael Foord | 2010-06-05 | 1 | -1/+1 |
| | |||||
* | unittest.TestCase assertion methods inform you when they have omitted an ↵ | Michael Foord | 2010-06-05 | 1 | -1/+5 |
| | | | | over long diff on failure. Issue 8351. | ||||
* | unittest.TestCase.assertDictEqual and assertMultilineEqual provide better ↵ | Michael Foord | 2010-06-05 | 1 | -2/+4 |
| | | | | default failure messages in the event of long diffs. | ||||
* | Removed the new max_diff argument to assertSequenceEqual. All ↵ | Michael Foord | 2010-06-05 | 1 | -9/+14 |
| | | | | unittest.TestCase assert methods that use difflib to produce failure messages now truncate overly long messages. New class attribute unittest.TestCase.maxDiff to configure this if necessary. Issue 8351. | ||||
* | Extract error message truncating into a method ↵ | Michael Foord | 2010-06-05 | 1 | -4/+6 |
| | | | | (unittest.TestCase._truncateMessage). | ||||
* | Issue 8351. Suppress large diffs in unittest.TestCase.assertSequenceEqual. | Michael Foord | 2010-06-05 | 1 | -3/+10 |
| | |||||
* | Updating documentation and adding docstrings to ↵ | Michael Foord | 2010-05-08 | 1 | -0/+2 |
| | | | | unittest.TestCase.assertRegexpMatches and assertNotRegexpMatches. Issue 8038. | ||||
* | Issue #8038: Addition of unittest.TestCase.assertNotRegexpMatches | Michael Foord | 2010-04-02 | 1 | -0/+12 |
| | |||||
* | Addition of delta keyword argument to unittest.TestCase.assertAlmostEquals ↵ | Michael Foord | 2010-03-27 | 1 | -13/+45 |
| | | | | | | and assertNotAlmostEquals This allows the comparison of objects by specifying a maximum difference; this includes the comparing of non-numeric objects that don't support rounding. | ||||
* | Issue 7815. __unittest in module globals trims frames from reported ↵ | Michael Foord | 2010-03-22 | 1 | -0/+3 |
| | | | | stacktraces in unittest. | ||||
* | Silence more py3k warnings in unittest.case. | Florent Xicluna | 2010-03-21 | 1 | -2/+2 |
| | |||||
* | Issue 7832: renaming unittest.TestCase.assertSameElements to ↵ | Michael Foord | 2010-03-20 | 1 | -24/+30 |
| | | | | assertItemsEqual and changing behaviour | ||||
* | Remove accidental print statement from last commit. | Michael Foord | 2010-03-07 | 1 | -1/+0 |
| | |||||
* | Fix accidental name rebinding in unittest py3k warning filtering. | Michael Foord | 2010-03-07 | 1 | -2/+3 |
| | |||||
* | Addition of setUpClass and setUpModule shared fixtures to unittest. | Michael Foord | 2010-03-07 | 1 | -0/+11 |
| | |||||
* | Fix for potentials errors in constructing unittest failure messages. Plus ↵ | Michael Foord | 2010-03-07 | 1 | -13/+23 |
| | | | | skipped test methods no longer run setUp and tearDown (Issue 8059) | ||||
* | Fix some py3k warnings in the standard library. | Florent Xicluna | 2010-03-07 | 1 | -20/+17 |
| | |||||
* | Support for old TestResult object (unittest) with warnings when using ↵ | Michael Foord | 2010-02-22 | 1 | -5/+26 |
| | | | | unsupported features. | ||||
* | Fix unittest.TestCase.assertDictContainsSubset so it can't die with unicode ↵ | Michael Foord | 2010-02-18 | 1 | -3/+4 |
| | | | | issues when constructing failure messages. Issue 7956 | ||||
* | unittest.TestCase uses safe_repr for producing failure messages. Partial fix ↵ | Michael Foord | 2010-02-18 | 1 | -34/+46 |
| | | | | for issue 7956 | ||||
* | Remove deprecation on assert_. It is used too frequently. | Michael Foord | 2010-02-10 | 1 | -1/+1 |
| | |||||
* | Issue 7893 and Issue 7588 | Michael Foord | 2010-02-10 | 1 | -10/+7 |
| | |||||
* | Make assertMultiLineEqual the default for comparing unicode strings. | Michael Foord | 2010-02-08 | 1 | -0/+1 |
| | |||||
* | Fix exc_value -> exception in docstring | Ezio Melotti | 2010-02-08 | 1 | -1/+1 |
| | |||||
* | assertRaises as context manager now allows you to access exception as documented | Michael Foord | 2010-02-07 | 1 | -1/+1 |
| | |||||
* | Rename "exc_value" attribute on assertRaises context manager to "exception". | Georg Brandl | 2010-02-07 | 1 | -2/+2 |
| | |||||
* | Use "regexp" consistently. | Georg Brandl | 2010-02-07 | 1 | -8/+8 |
| | |||||
* | Correction to docstring correction. | Michael Foord | 2010-02-05 | 1 | -1/+1 |
| | |||||
* | Improving docstrings in unittest.TestCase | Michael Foord | 2010-02-05 | 1 | -5/+15 |
| | |||||
* | Fix typo in assertSequenceEqual docstring. | R. David Murray | 2010-01-29 | 1 | -1/+1 |
| | |||||
* | Issue #7092: Fix the DeprecationWarnings emitted by the standard library | Antoine Pitrou | 2010-01-04 | 1 | -3/+9 |
| | | | | when using the -3 flag. Patch by Florent Xicluna. | ||||
* | now that deepcopy can handle instance methods, this hack can be removed #7409 | Benjamin Peterson | 2009-11-29 | 1 | -13/+2 |
| | | | | Thanks Robert Collins | ||||
* | #7031: Add TestCase.assertIsInstance and negated method. | Georg Brandl | 2009-10-01 | 1 | -0/+13 |
| | |||||
* | Fix some weird whitespace and two other overlong lines. | Georg Brandl | 2009-10-01 | 1 | -4/+7 |
| | |||||
* | Objects that compare equal automatically pass or fail assertAlmostEqual and ↵ | Michael Foord | 2009-09-13 | 1 | -1/+9 |
| | | | | assertNotAlmostEqual tests on unittest.TestCase. Issue 6567. | ||||
* | issue 6275 | Kristján Valur Jónsson | 2009-08-27 | 1 | -0/+1 |
| | | | | Add an "exc_value" attribute to the _AssertRaisesContext context manager in the unittest package. This allows further tests on the exception that was raised after the context manager exits. | ||||
* | split unittest.py into a package | Benjamin Peterson | 2009-07-19 | 1 | -0/+893 |