Commit Graph

16 Commits

Author SHA1 Message Date
Michael Foord db43b5a1f5 Issue 7893 and Issue 7588 2010-02-10 14:25:12 +00:00
Michael Foord fe6349c965 Make assertMultiLineEqual the default for comparing unicode strings. 2010-02-08 22:41:16 +00:00
Ezio Melotti cd4f657809 Fix exc_value -> exception in docstring 2010-02-08 21:52:08 +00:00
Michael Foord 2bd52dcccb assertRaises as context manager now allows you to access exception as documented 2010-02-07 18:44:12 +00:00
Georg Brandl dc3694bee0 Rename "exc_value" attribute on assertRaises context manager to "exception". 2010-02-07 17:02:22 +00:00
Georg Brandl b0eb4d3eb1 Use "regexp" consistently. 2010-02-07 11:34:15 +00:00
Michael Foord 757cc4d15f Correction to docstring correction. 2010-02-05 23:22:37 +00:00
Michael Foord d0edec38ce Improving docstrings in unittest.TestCase 2010-02-05 22:55:09 +00:00
R. David Murray 05b4171624 Fix typo in assertSequenceEqual docstring. 2010-01-29 19:35:39 +00:00
Antoine Pitrou b9d4963a98 Issue #7092: Fix the DeprecationWarnings emitted by the standard library
when using the -3 flag.  Patch by Florent Xicluna.
2010-01-04 23:22:44 +00:00
Benjamin Peterson d46430bd81 now that deepcopy can handle instance methods, this hack can be removed #7409
Thanks Robert Collins
2009-11-29 22:26:26 +00:00
Georg Brandl f895cf5d33 #7031: Add TestCase.assertIsInstance and negated method. 2009-10-01 20:59:31 +00:00
Georg Brandl 46cc46af07 Fix some weird whitespace and two other overlong lines. 2009-10-01 20:11:14 +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
Kristján Valur Jónsson e2a77980b6 issue 6275
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.
2009-08-27 22:20:21 +00:00
Benjamin Peterson d7b0eebcae split unittest.py into a package 2009-07-19 20:18:21 +00:00