Florian Apolloner
|
4a71b84266
|
Fixed #19204 -- Replaced python2-style exception syntax.
Thanks to garrison for the report and patch.
|
2012-12-24 14:05:36 +01:00 |
Aymeric Augustin
|
1d54e3a956
|
Fixed #15828 -- Removed explicit implementation of empty setUp / tearDown methods. Backport of http://hg.python.org/unittest2/rev/3d33f92496fa.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17398 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2012-01-27 22:25:44 +00:00 |
Adrian Holovaty
|
3e18969bcb
|
Fixed #15635 -- Converted two legacy old-style raise statements. Thanks, DaNmarner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2011-03-26 03:30:48 +00:00 |
Adrian Holovaty
|
4e25bc71b1
|
Fixed #15609 -- Fixed some 'raise' statements to use the newer style syntax. Thanks, DaNmarner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2011-03-14 23:00:03 +00:00 |
Russell Keith-Magee
|
afd040d4d3
|
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
assert_ -> assertTrue
assertEquals -> assertEqual
failUnless -> assertTrue
For full details, see http://www.voidspace.org.uk/python/articles/unittest2.shtml#deprecations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2011-03-03 15:04:39 +00:00 |
Russell Keith-Magee
|
121d2e3678
|
Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2010-10-11 12:55:17 +00:00 |