Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #15828 -- Removed explicit implementation of empty setUp / tear…

…Down 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
  • Loading branch information...
commit 1d54e3a95676e04ef3bcf7a251ba5a425d7e583f 1 parent ef92619
Aymeric Augustin authored January 27, 2012

Showing 1 changed file with 0 additions and 6 deletions. Show diff stats Hide diff stats

  1. 6  django/utils/unittest/case.py
6  django/utils/unittest/case.py
@@ -241,9 +241,6 @@ def addCleanup(self, function, *args, **kwargs):
241 241
         Cleanup items are called even if setUp fails (unlike tearDown)."""
242 242
         self._cleanups.append((function, args, kwargs))
243 243
 
244  
-    def setUp(self):
245  
-        "Hook method for setting up the test fixture before exercising it."
246  
-
247 244
     @classmethod
248 245
     def setUpClass(cls):
249 246
         "Hook method for setting up class fixture before running tests in the class."
@@ -252,9 +249,6 @@ def setUpClass(cls):
252 249
     def tearDownClass(cls):
253 250
         "Hook method for deconstructing the class fixture after running all tests in the class."
254 251
 
255  
-    def tearDown(self):
256  
-        "Hook method for deconstructing the test fixture after testing it."
257  
-
258 252
     def countTestCases(self):
259 253
         return 1
260 254
 

0 notes on commit 1d54e3a

Please sign in to comment.
Something went wrong with that request. Please try again.